#44089 [Opn->Fbk]: Sessions are not getting registered... even after correct script.
| From: | felipe@php.net | Date: | Sun, 10 Feb 2008 18:01:29 +0000 |
| Subject: | #44089 [Opn->Fbk]: Sessions are not getting registered... even after correct script. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-122155@lists.php.net to get a copy of this message | ||
ID: 44089
Updated by: felipe@php.net
Reported By: umakantpatil4 at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Windows XP
PHP Version: 4.4.8
New Comment:
Probably you haven't defined the session.save_path, or doesn't exists
the directory.
See http://docs.php.net/manual/en/session.configuration.php
Previous Comments:
------------------------------------------------------------------------
[2008-02-10 05:03:17] umakantpatil4 at gmail dot com
Description:
------------
Hi..
Sir i have follwing script for sessions..
<?php
session_start();
$u="prince";
$_SESSION['user']="$u";
print "succcess";
?>
Sir even after this session doesnt get registered..
can u resolve why it is so ??
coz when i m checking if session is registerd.. its showing no..
as follows
<?php
session_start();
if(isset($_SESSION['user']))
{
print "$_SESSION[user]";
}
else
{
print "session not registered";
}
?>
so.. its showing session not registered..
well i m using widows xp with IIS , mysql and php 4.4.8
thanks..
regards
umakant
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44089&edit=1