Re: maintaining session information

From: Date: Thu, 16 Aug 2007 22:07:50 +0000
Subject: Re: maintaining session information
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-260937@lists.php.net to get a copy of this message
Vic Agnews wrote:
Thanks for the suggestions guys .... I appreciate the help! I guess I'll look into creating a custom session handler. Any good references?
http://php.net/session_set_save_handler shows an example.
How my current setup works is, there's session information for sub-domain1.domain.com <http://sub-domain1.domain.com> stored in a cookie and I want sub-domain2.domain.com <http://sub-domain2.domain.com> (which currently does not have authentication/sessions) to be able to read that cookie and find out who the user is. I read somewhere that you could do this either by using an apache module or .htaccess files or configuring php.ini ...
AFAIK that's completely wrong. Your browser holds the cookie and it works out the security of which domain can read which cookie. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#260937) next »