Reply to PHP Sessions

Your name:

Reply:


Posted by Jure Erznoznik on 06/16/05 15:26

I have a rather specific problem with PHP sessions:

When used together with Nevrona's Indy HTTP server, they seem to get lost
and recreated all the time.
Practically every page I try to access from my browser starts a new session.

How does PHP control sessions and more importantly, how does it know that a
new connection was established?
Does it all depend on KeepAlive socket property? Then again, how does PHP
know that it is a NEW socket that is established, not a previous one reused?

Apache works just fine, but it keeps the sockets open (I can't do that with
Indy due to some unresolved issues).
What's even more interesting, Firefox will not start a new session / will
keep sending the cookie even if I open a new window (with apache).

Any help would be greatly appreciated,
Jure

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация