Re: Starting session
| From: | Chris Lee | Date: | Tue, 19 Jun 2001 14:50:39 +0000 |
| Subject: | Re: Starting session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54413@lists.php.net to get a copy of this message | ||
why do you want todo it this way ? to tell if a user is logged in I assign a
valid people_id (session_var) if the var has a valid id, then they are
logged in, else they are not.
--
Chris Lee
lee@mediawaveonline.com
""Rosen"" <rosen_dm@dir.bg> wrote in message
news:9gnhvd$8qh$1@w153.z064000151.sjc-ca.dsl.cnc.net...
> Hi,
> I'm creating a WEB portal with PHP.
> I want to give possibility the users to register on my site and to use
some
> features on it.
> I want to use sessions and to start session only if user login.
> How can I understand ot my other pages on site, thath the user has logged
in
> my site.
> i.e. to startsession only if user has logged in ?
>
> Thanks,
> Rosen Marinov
>