You are here: Re: Question = how to make a user session expire? « All PHP « IT news, forums, messages
Re: Question = how to make a user session expire?

Posted by J.O. Aho on 06/29/07 17:28

GD wrote:
> i'm using the dreamweaver login.
> it uses php/mysql and user session. the problem i'm ecountering is
> that the sessions don't expire until you log out.
>
> how can i make the sessions expire in let's say 1 hour when there is
> no activity on the webpage?

set the session.gc_maxlifetime, for more info, see
http://se.php.net/manual/en/ref.session.php

--

//Aho

 

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

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