#24885 [NEW]: session_destroy() should optionally take session id as parameter

From: Date: Thu, 31 Jul 2003 14:40:21 +0000
Subject: #24885 [NEW]: session_destroy() should optionally take session id as parameter
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45112@lists.php.net to get a copy of this message
From:             dan at danposluns dot com
Operating system: Mac OS X (Unix)
PHP version:      4.3.2
PHP Bug Type:     Feature/Change Request
Bug description:  session_destroy() should optionally take session id as parameter

Description:
------------
It would be very useful to have session_destroy() 
optionally take a session id as a parameter.

This would be useful for people who want to help 
prevent hijacked sessions by using 
session_regenerate_id(). A subsequent call to 
session_destroy([previous session id]) would keep 
hijackers from using the old session file, and is much 
simpler than trying to unlink the file manually.


-- 
Edit bug report at http://bugs.php.net/?id=24885&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24885&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24885&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24885&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24885&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24885&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24885&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24885&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24885&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24885&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24885&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24885&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24885&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24885&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24885&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24885&r=gnused



Thread (3 messages)

« previous php.bugs (#45112) next »