php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9004 Can not serialize($HTTP_SESSION_VARS);
Submitted: 2001-01-30 10:52 UTC Modified: 2001-02-19 03:54 UTC
From: vgo at nrd dot lt Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-01-30 10:52 UTC] vgo at nrd dot lt
The server crashes when executing this code ??? May be this is brohibited?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-17 13:17 UTC] sbergmann@php.net
$HTTP_SESSION_VARS provides a means to access the contents of registered session variables if you have disabled register_globals.

There is no sense in doing the following 

<?php
  session_start();
  session_register("HTTP_SESSION_VARS");
?>

Neither the code shown above, nor 

  $s = serialize($HTTP_SESSION_VARS);

causes a crash on my system.
 [2001-02-19 03:54 UTC] vgo at nrd dot lt
The "need" is to get all session variables in one string. Used for bug reporting....
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC