Reply to how to custom a session_expire

Your name:

Reply:


Posted by blk.coffee on 07/06/06 09:30

php version: 5.1
mysql version: 5.0
here's my problem.
i hava a MIS ...administrator's account could allocate each system
user's life-time,
it's if the user don't make any operation in this system for how many
minutes which has been allocated by administrator. the system will
automatic exit.

there's an item in the php.ini as
; Document expires after n minutes.
session.cache_expire = 180

if i have to use session to judge if system should automatic exit ,and
one of the users his account's life-time over 180...
what can i do to let the session alive...

user_login -> check if id and password correct -> [yes] store his id
and basic info into $_session
each time he request a operation...check if his ID is unexpired so he
can continue his operation.

hope someone can understand my poor english.

[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

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