Re: session & login (newbie)

From: Date: Thu, 22 Jun 2000 03:08:55 +0000
Subject: Re: session & login (newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2535@lists.php.net to get a copy of this message
if ($HTTP_COOKIE_VARS["PHPSESSID"]) { might be a better way. - cnb. On Wed, 21 Jun 2000, Masood Nasir wrote: > > check PHPSESSID like > > if ($PHPSESSID) { > > ... > > -- Regards, > -- Masood Nasir :-) [Systems Engineer] - http://www.masood.net > ;) > -- One Net, Lahore, Pakistan. <http://www.one.net.pk> > > On Wed, 21 Jun 2000, sarahana wrote: > > > Hi, > > I do know how to start sessions, but I'm confused about this: > > > > I start & register a session in one page, and how do I check if the > > session is still "alive" in another page. Let's say, login.php is one > > page, then how do I check in someotherpage.php that the session is still > > there? > > > > gracias. > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- Chandrashekhar Bhosle. Email: cnb@freeos.com Webmaster. ICQ : 7616948 FreeOS.com - The Resource Center for Free Operating Systems. ------------------------------------------------------------

« previous php.general (#2535) next »