Remember that a session is normally bound to the the browser window setting
it, so if you close down that browser window and open a new one the
session_start() will correctly start a session but with another unique
session name so it will not access you old session variables since the
session now has a new name.

Think of it like this, a session is the time frame between you open the page
in a browser and til that browser is closed. Within that time frame you can
set and access session variables.
So session life time = page open in browser -> browser closed.

If you need data stored for access after restart use a database or files.

~ Sviss.


"Martin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hmm seems to have a problem here..
> The session is set and everything but when
> I tries to access it nothing happend!!!
> I got it to work fine but then i restarted my computer and
> when I started up my apache webserver again the session
> would not read.
> No problems with setting a session but to read them.
> Anyone here with a solution ?
> best regards
>
> --
> Martin Eriksson
> webdesigner & Utvecklare
> ----------------------------------------------------------------
> [EMAIL PROTECTED]
> http://www.svensk-design.com
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to