php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16359 session_id returns empty string if save handler is wddx
Submitted: 2002-03-30 04:58 UTC Modified: 2002-05-01 00:00 UTC
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: tychay at alumni dot caltech dot edu Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.1.2 OS: Linux x86
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
35 + 6 = ?
Subscribe to this entry?

 
 [2002-03-30 04:58 UTC] tychay at alumni dot caltech dot edu
PHP.ini settings:
session.save_handler = wddx
session.auto_start = 1

<?php
echo "This should be the session ID: ".session_id()."<br>";
echo "How about this: ".SID."<br>";
if (SID=='') {
  echo "<b>Something wrong with wddx sessions!</b>";
}
?>

changing the save_handler back to php fixes this problem.

terry

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-30 05:12 UTC] sniper@php.net
; Handler used to serialize data.  php is the standard ;serializer of PHP.
session.serialize_handler = php

I hope you meant the above setting...

--Jani

 [2002-05-01 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 08 06:05:52 2022 UTC