Make sure you are doing a session_start first.

On Tue, 5 Oct 2004 19:00:57 +0530, Kevin Javia <[EMAIL PROTECTED]> 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

Reply via email to