sessions handling

php.internals

Dmitry Ruban

22 years ago
Hi folks, Have no idea is it the proper group to ask my question, any way here it is: We have two instances of apache/mod_php running on 80 and 443 ports accordingly. For both mod_php we have the same dir (/tmp) to store session information. Is it possible to mix sessions data up if user switches between 80 and 443 ports? I mean what if when user surfs over 80 port and has already sessionID in this mod_php context(PHPSESSID stores in cookie), then he jumps to 443 instance, would that mod_php correctly find proper session file? Is it possible that PHPSESSID in 443 context hasn't been initialized and mod_php won't get proper file? Regards, Dima Ruban

George Schlossnagle

22 years ago
You're looking for the list php-general. On Jun 2, 2004, at 3:37 AM, Dmitry Ruban wrote:
> Hi folks, > > Have no idea is it the proper group to ask my question, any way here > it is: > We have two instances of apache/mod_php running on 80 and 443 ports > accordingly. For both mod_php we have the same dir (/tmp) to store > session > information. Is it possible to mix sessions data up if user switches > between > 80 and 443 ports? I mean what if when user surfs over 80 port and has > already sessionID in this mod_php context(PHPSESSID stores in cookie), > then > he jumps to 443 instance, would that mod_php correctly find proper > session > file? Is it possible that PHPSESSID in 443 context hasn't been > initialized > and mod_php won't get proper file? > > Regards, > Dima Ruban > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
// George Schlossnagle // Postal Engine -- http://www.postalengine.com/ // Ecelerity: fastest MTA on earth