www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elan Bechor <ejb...@hotmail.com>
Subject general/8147: Session handling error. Can't register a session variable.
Date Mon, 06 Aug 2001 19:19:12 GMT

>Number:         8147
>Category:       general
>Synopsis:       Session handling error. Can't register a session variable.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Aug 06 12:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     ejbe99@hotmail.com
>Release:        1.3.2
>Organization:
apache
>Environment:
Windows 98, 1.3.2
>Description:
When I run this code:

<?php 
session_start();
$username = "someusername";
session_register("username");
?>

It gives me this error:

Warning: open(/tmp\sess_6ff60f58fd2f6576373db6574a273f28, O_RDWR) failed: m (2) in c:\windows\desktop\apache
files\session.php on line 2

Warning: open(/tmp\sess_6ff60f58fd2f6576373db6574a273f28, O_RDWR) failed: m (2) in Unknown
on line 0

Warning: Failed to write session data (files). Please verify that the current setting of session.save_path
is correct (/tmp) in Unknown on line 0

>How-To-Repeat:
Can't. It works on any regular server, but when apache is on my computer, sessions don't work.
>Fix:
Allow session hanlding. I don't exactly know the technical side of it.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message