Re: [Phplib-users] random logouts
Brought to you by:
nhruby,
richardarcher
From: Layne W. <la...@dr...> - 2004-04-14 20:49:21
|
> As for the cookie end of things, make sure that the browsers are > accepting the cookie (sniffing the HTTP headers can be useful here), and= =20 > make sure that the cookie is being set for the same domain/hostname that= =20 > it is originating from. If you have a situaiton where you want sessions= =20 > to span multiple hosts/domains/subdomains, that will likely cause=20 > problems as well, which you'd have to work around. Many of the users were using the IP address (from when we moved servers, before DNS switched), but all of the links and redirects are fully qualifie= d with the domain name. > Oh, and just in case... make /absolutely/ sure that each page that uses= =20 > sessions and/or auth is closed with page_close(). The lack of this=20 > function call at the end of your scripts is often the cause of=20 > random-looking dropped sessions. It's embarrassing to see that I've overlooked that randomly throughout the site. Thanks for the reminders. Layne Weathers |