php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11721 Starting new Session while destroying previous
Submitted: 2001-06-27 02:19 UTC Modified: 2001-06-27 12:08 UTC
From: kaka at pakwatan dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Latest CVS (2001-06-27) OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kaka at pakwatan dot com
New email:
PHP Version: OS:

 

 [2001-06-27 02:19 UTC] kaka at pakwatan dot com
problems is ......

Starting new session while destroying prevous one.

it can't work. it restores the old session.
Here is some code...

session_start();
session_destroy();
session_start(); ............should asign new session But it restores prevois one.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-27 12:08 UTC] sniper@php.net
this is the expected behaviour:

http://www.php.net/manual/en/function.session-start.php

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 20:01:27 2025 UTC