Re: Session Management problems [LO

From: Date: Mon, 03 Jul 2000 10:39:28 +0000
Subject: Re: Session Management problems [LO
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4471@lists.php.net to get a copy of this message
unsubscribe end On Mon, 3 Jul 2000, Daniel Gustafsson wrote: > NG] > Status: RO > X-Status: > X-Keywords: > X-UID: 8588 > > At 11:31 PM 7/2/00 +0000, you wrote: > >Hi there, my name is Roberto and I am from Italy, so, first of all, > (... big cut...) > >So it is very annoying that sometimes PHP drops the session data sending > >the TO back to the login page. > > This sounds very strange indeed. Are you making sure that you call > session_start() at the beginning of every page (unless you've used the > autostart feature, dunno if this works correctly though) and passing the > SID along with the URL? (in case the browser doesn't support cookies or > have 'em disabled). > > This would be typical if the SID doesn't get passed correctly I guess, > because then PHP will assume there's no active session and create a new > one, try echoing session_id() on each page, to make sure that it gets > passed along correctly. and add the SID to every url.. It's a macro, if the > browser supports cookies it'll be empty and if not it will be set to > 'PHPSESSID=...etc' or whatever session identifier name you've choosen. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list ad

« previous php.general (#4471) next »