php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5624 Can't make sessions work
Submitted: 2000-07-16 09:46 UTC Modified: 2001-04-27 20:26 UTC
From: david at interpont dot hu Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.1pl2 OS: NT4 SP6 IIS4
Private report: No CVE-ID: None
 [2000-07-16 09:46 UTC] david at interpont dot hu
Hi!

My problem is that I can't make sessions work.

I have the following script:

<?
  session_start();
  session_register('count');

  $count++;
  echo "<P>You have been here $count times. Thanks!</P>";
?>

And php returns:
Warning: open(/tmp/sess_e1aa51f9a5c92f30bc18b2ae9eb153e4, O_RDWR) failed: m (2) in Unknown on line 0

/tmp is created and read/write/execute/script are all allowed.

After 3 times of refreshing the page php reports:
Warning: Nesting level too deep - recursive dependency? in Unknown on line 0

And it keeps on reporting this untill I stop the hole IIS service and start it again.

I am using the ISAPI module of php.

What can be the problem?


Please help me if you can reproduce the failure or not and tell me about all the possible solutions.

Thanks,


David Szilagyi

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-02 00:49 UTC] waldschrott@php.net
This is possibly a mix of two bugs, one possibly fixed the other one not.

If it still doesn?t work, you should regard it as a not-fixed ISAPI-only problem for now.

 [2000-08-02 00:50 UTC] waldschrott@php.net
This is at least a dup of 4377
 [2000-08-02 01:18 UTC] waldschrott@php.net
it seems, that it?s a dup of 5507, both appearing on ISAPI and .exe
 [2000-08-02 09:06 UTC] david at interpont dot hu
Thanks for the reply.

I have also found that 4377 article but I have found some differences (no input vs. error-reporting in my version).

Please investigate the problem asap. :)

Keep up the good work.

David
 [2001-04-27 20:26 UTC] sniper@php.net
this should be fixed..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC