Re: session & login (newbie)
| From: | Chandrashekhar Bhosle | Date: | Thu, 22 Jun 2000 03:14:48 +0000 |
| Subject: | Re: session & login (newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2538@lists.php.net to get a copy of this message | ||
Wouldn't you have to do session_start() before being able to access the
value? It might be better to check session_name() instead?
- cnb.
On Wed, 21 Jun 2000, Faisal Nasim wrote:
> | check PHPSESSID like
> |
> | if ($PHPSESSID) {
> |
>
> PHPSESSID can be changed from the ini. Its
> better to stick to session_id().
>
> Enjoy!
>
> Faisal
>
>
> | 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.
>
>
>
--
Chandrashekhar Bhosle. Email: cnb@freeos.com
Webmaster. ICQ : 7616948
FreeOS.com - The Resource Center for Free Operating Systems.
------------------------------------------------------------