You are here: Re: help with setting time out in my application « PHP Programming Language « IT news, forums, messages
Re: help with setting time out in my application

Posted by Erwin Moller on 11/18/59 11:43

Meena wrote:

> Hi all, I want my application to log out the user after a specified
> amount of time set by the user, for example:
>
> If a user sets the time to 15 min, after logging in and 15 min have
> passed the user will be logged out and redirected to the login page
> again.
>
> Any Ideas??

Hi

Just store the time in a sessionvariable, after log in.
Check above every script if that time has passed.
If so, send to loginpage (and maybe destroy session).

Regards,
Erwin Moller

 

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

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