php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18605 on_session_destroy functionality
Submitted: 2002-07-26 16:56 UTC Modified: 2002-07-28 06:43 UTC
From: greg at ttiltd dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.2.2 OS: All
Private report: No CVE-ID: None
 [2002-07-26 16:56 UTC] greg at ttiltd dot com
Most of other languages have functionality that allows for the user to specify an action that will be performed when the program exit.  I don't seem to find this type functionlity in PHP.  Especially when session times out.

This type of feature should allow user to submit one or more actions to be performed on the destruction of session either as timeout or as an explicit destroy.

This type of feature would be very useful when interacting with external application engines.

Thanks for your consideration.

Greg

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-28 06:43 UTC] yohgaki@php.net
You can control behavior with custome session save handler (session data is expired) or shutdown function (register_shutdown_function). 


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 18:01:31 2024 UTC