RE: Arrrrrrrrrrrg. Session management expert needed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just a shot in the dark, do you have your session variables expiring or
something like that? (check "session_cache_expire").

It's going to be something little and stupid... Maybe you're unsetting
something, or something's expiring.  See if it does it at regular
intervals (5 minutes every time or something) or if it's totally random.

-TG

> -----Original Message-----
> From: Ross Honniball [mailto:ross@xxxxxxxxxxxxxxxxxxx] 
> Sent: Sunday, June 06, 2004 8:16 PM
> To: php windows
> Subject:  Arrrrrrrrrrrg. Session management expert needed.
> 
> 
> Sessions are driving me crazy.
> 
> I am tracking screens a user has visited using an array within the 
> $_SESSION array.
> 
> And it nearly works.
> 
> I call session_start() before any output in each script and 
> before trying 
> to access any $_SESSION data.
> 
> The huge headache I am having is that php seems to fire up a 
> NEW session in 
> certain situations (the result being that it can NOT find the 
> previous 
> screens a user has visited).
> 
> Anyone had any similar problems and found a solution?
> 
> Regards ... Ross
> .
> . Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
> .
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux