Ignore session_auto_start

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Ignore session_auto_start

    I have session set to automatically start in my php.ini file. However, I
    would like this to be ignored for one script on my site (a dynamic image
    loaded by many other sites where a session is irrelevant). this would be a
    way to greatly reduce the amount of session files in my tmp directory.

    Unfortunately I cannot find any way to do this. Session destroy seems to
    first create the session and then destroy it. I want there to be no session
    started when this file is loaded.

    thanks,
    -Jackson


    --
    jackson miller

    cold feet creative
    615.321.3300 / 800.595.4401
    [email]jackson@coldfeetcreative.com[/email]


    cold feet presents Emma
    the world's easiest email marketing
    Learn more @ [url]http://www.myemma.com[/url]
    Jackson Miller Guest

  2. Similar Questions and Discussions

    1. ignore
      please ignore this post. jill
    2. Please Ignore
      Sorry about the newsgroup clutter. This is a test. -- sptrp1@smp.gseis.ucla.edu
    3. Hi Everyone-Please Ignore
      This is a test. Sorry for the newsgroup clutter. -- sptrp1@smp.gseis.ucla.edu
    4. Ignore this
      On Tue, 29 Jul 2003 14:41:11 +1000, in <2kubivk8otrmrtj8l9je6n2io66a1aeh1b@4ax.com>, Steven L. McGahey <s.mcgahey@uq.edu.au> said: Heh, you...
    5. php doesn't ignore the utf-8 BOM
      "When a php file is saved in utf-8 format with the UTF-8 BOM as the first three bytes of the file (EF BB BF), PHP doesn't ignore these bytes when...
  3. #2

    Default Re: [PHP] Ignore session_auto_start

    On Tuesday 12 August 2003 11:03, Jackson Miller wrote:
    > I have session set to automatically start in my php.ini file. However, I
    > would like this to be ignored for one script on my site (a dynamic image
    > loaded by many other sites where a session is irrelevant). this would be a
    > way to greatly reduce the amount of session files in my tmp directory.
    >
    > Unfortunately I cannot find any way to do this. Session destroy seems to
    > first create the session and then destroy it. I want there to be no
    > session started when this file is loaded.
    ini_set()
    or set in httpd.conf, .htaccess

    --
    Jason Wong -> Gremlins Associates -> [url]www.gremlins.biz[/url]
    Open Source Software Systems Integrators
    * Web Design & Hosting * Internet & Intranet Applications Development *
    ------------------------------------------
    Search the list archives before you post
    [url]http://marc.theaimsgroup.com/?l=php-general[/url]
    ------------------------------------------
    /*
    Life is just a bowl of cherries, but why do I always get the pits?
    */

    Jason Wong Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139