php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33619 session_regenerate_id: parameter description not clear
Submitted: 2005-07-08 21:12 UTC Modified: 2005-07-11 10:21 UTC
From: holliwell at gmx dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
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: holliwell at gmx dot net
New email:
PHP Version: OS:

 

 [2005-07-08 21:12 UTC] holliwell at gmx dot net
Description:
------------
Hi,
http://www.php.net/manual/en/function.session-regenerate-id.php

The description of parameter delete_old_session is a bit vague.

It is not clear what " Whether to delete the old session or not." does exactly mean.
Are the session files on the server destroyed, the data in $_SESSION unset, or all together?
What is happen to the session cookie, if cookies used?

This issues should be clarified.

Kind regards 

Friedhelm



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-08 21:13 UTC] betz@php.net
changed summary ;-(
 [2005-07-08 21:50 UTC] nlopess@php.net
ehm, I wrote that.. :)

looking to the sources, it does the same as session_destroy() (maybe this description is enough).
That means it will call the 'destroy' function of the current session handler.
If the default 'file' handler is used, it will just delete the associated file, but the $_SESSION var isn't unset.

I'm a bit busy this week, could you please update the description with this info, please?

Thanks,
Nuno
 [2005-07-11 10:21 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"Whether to delete the old associated session file or not."
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 02:01:27 2024 UTC