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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 17:01:30 2024 UTC