Bug #17860 Updated: Suggestion: auto detect whether session changed

From: Date: Thu, 20 Jun 2002 06:26:15 +0000
Subject: Bug #17860 Updated: Suggestion: auto detect whether session changed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11510@lists.php.net to get a copy of this message
ID: 17860 Updated by: derick@php.net Reported By: Xuefer@21cn.com Status: Open -Bug Type: Session related +Bug Type: Feature/Change Request Operating System: all PHP Version: 4.2.1 Previous Comments: ------------------------------------------------------------------------ [2002-06-20 00:15:11] Xuefer@21cn.com yes, i know, a file handler don't need to update mtime, they have "atime", but for a drive which not local, or sql_session_handler, a remote sql server, it's nightmare to send session data every page load we need to detect whether "it's REALLY need to update session data" ------------------------------------------------------------------------ [2002-06-20 00:09:15] Xuefer@21cn.com session data changed need ===> session update session active need only ===> session "mtime" update, and don't need to update frequently sometime, it's hard for ourself do judge whether to open a session in readonly mode. it is possible to detect whether $_SESSION is changed ? i just do it using md5 now, but if there's and capability to do internally, e.g.: a flag set when session changed, should be faster than md5. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17860&edit=1

« previous php.bugs (#11510) next »