You are here: Re: Executing Code on session timeout « PHP Programming Language « IT news, forums, messages
Re: Executing Code on session timeout

Posted by Rik on 03/03/07 15:50

On Fri, 02 Mar 2007 20:12:32 +0100, Team 4 Profit <team4profit@gmail.com>
wrote:

> Hi all,
> is it possible to execute some code on the session timeout event?
> i.e. clear all db information and other stuff when the php session is
> destroyed through the gc_maxlifetime timeout.

Create your own session_handler:
http://www.php.het/session_set_save_handler

--
Rik Wasmus

 

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

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