php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16717 simply not working - zero bytes
Submitted: 2002-04-20 18:13 UTC Modified: 2002-04-23 07:19 UTC
From: bahri at yifan dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.2 OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bahri at yifan dot net
New email:
PHP Version: OS:

 

 [2002-04-20 18:13 UTC] bahri at yifan dot net
I'm using PHP 4.1.2 with Win2k Adv. Server with IIS. As I was trying to write a new script with sessions, I saw that even the simplest examples in the manual does not work. The count variable is never incremented for example.

I use $_SESSION, and in php.ini I closed register globals, and set session directory to e:\temp. I got session files created in that directory but they are always with zero length, whether I use cookies or URL rewriting. If I don't say session_start() I got no cookies nor rewrited URLs at all.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-20 18:22 UTC] jimw@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 [2002-04-20 20:02 UTC] bahri at yifan dot net
I do not ask for help, I think I do everything as written in book. And I know people in lists having the same problem. As I said, the session files in the e:\temp directory all have zero length, thus I can not register any variable, everytime I use them, PHP behaves as they are new (i.e. forgets the past value assigned to them.)
 [2002-04-23 07:18 UTC] bahri at yifan dot net
It now works with PHP 4.2.0. I'm closing the bug. By the way, I was right, it was A bug.
 [2002-04-23 07:19 UTC] bahri at yifan dot net
-closing-
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Dec 07 17:05:52 2022 UTC