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
[EMAIL PROTECTED]
""Rosen"" <[EMAIL PROTECTED]> wrote in message
9gnhvd$8qh$[EMAIL PROTECTED]">news:9gnhvd$8qh$[EMAIL PROTECTED]...
> 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
>