You are here: Re: Sessions - how can I prevent users being logged out when inactive? « PHP Programming Language « IT news, forums, messages
Re: Sessions - how can I prevent users being logged out when inactive?

Posted by Dave Smithz on 07/11/05 15:20

"chotiwallah" <chotiwallah@web.de> wrote in message
news:1121082522.308965.201000@g14g2000cwa.googlegroups.com...
> frames might make a diference: php starts session for single scripts,
> not for browser windows or whole domains. that means a session_start()
> call is needed for every script that makes use of the session.
>
> another thought: does your login validate the user's ip? if yes, try
> without it, because if your user's connections are idle, their
> computers might disconnect, and then connect from a differnet ip again,
> which invalidates your login.
>
> micha

Thanks again Micha,
but know the login is quite basic and does not check IP address. Also every
script does have its own session start, so I do not think this particular
problem is related to the frames.

Still a bit funny why I cannot change the session.cache_expire value (at
least when I do a phpinfo it does not seem to change although I can change
other values)

Anyone else have any thoughts on what the problem could be here?

 

Navigation:

[Reply to this 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

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