php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44089 Sessions are not getting registered... even after correct script.
Submitted: 2008-02-10 05:03 UTC Modified: 2008-02-18 01:00 UTC
From: umakantpatil4 at gmail dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.4.8 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: umakantpatil4 at gmail dot com
New email:
PHP Version: OS:

 

 [2008-02-10 05:03 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-10 18:01 UTC] felipe@php.net
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
 [2008-02-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC