Re: Session Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make sure you are doing a session_start first.


On Tue, 5 Oct 2004 19:00:57 +0530, Kevin Javia <kevin@xxxxxxxxxxxxxxxxx> wrote:
> Hi there,
> 
> I have got PHP 5 installed on IIS6 with 'register_globals = on'.
> 
> When run my page with session variable at top of the page
> 
> <?
> $_SESSION['_user'] == ""
> ..........
> ?>
> 
> I got notice like "Notice: Undefined index: _user in E:\Projects\........."
> 
> What can be the reason and what is the solution? _user variable is not
> registered before.
> 
> Thanks a ton for reading this far.
> 
> Kevin.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux