Re: Session Problem

From: Date: Tue, 05 Oct 2004 15:40:27 +0000
Subject: Re: Session Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198683@lists.php.net to get a copy of this message
Make sure you are doing a session_start first. On Tue, 5 Oct 2004 19:00:57 +0530, Kevin Javia <kevin@renderhorizon.com> 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 > >

« previous php.general (#198683) next »