# sessions handling

- Thread: https://externals.io/message/10240
- Original archive: https://news-web.php.net/php.internals/10240
- Started by Dmitry Ruban on 2004-06-02T07:37:43+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #10240 — Dmitry Ruban — 2004-06-02T07:37:43+00:00

URL: https://externals.io/message/10240#10240

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

---

## #10245 — George Schlossnagle — 2004-06-02T12:53:19+00:00

URL: https://externals.io/message/10240#10245 · In reply to: #10240

You're looking for the list php-general.




> 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
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on earth
