Bug #17860: Suggestion: auto detect whether session changed
| From: | Xuefer at 21cn dot com | Date: | Thu, 20 Jun 2002 04:09:15 +0000 |
| Subject: | Bug #17860: Suggestion: auto detect whether session changed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-11487@lists.php.net to get a copy of this message | ||
From: Xuefer@21cn.com
Operating system: all
PHP version: 4.2.1
PHP Bug Type: Session related
Bug description: Suggestion: auto detect whether session changed
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 bug report at http://bugs.php.net/?id=17860&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17860&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17860&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17860&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17860&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17860&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17860&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17860&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17860&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17860&r=globals