how to pass user info to diffrent pages using sessions? (1 Viewer)

tony007

Registered User.
Local time
Yesterday, 18:09
Joined
Jun 30, 2005
Messages
53
Hi all i wonder how i can pass user information such as login name to diffrent pages using sessions. My intention is that i want in diffrent pages the php pages automatically knows who is using the page and where user log name is necessary it is avaliable by just doing echo $username or using $username in queries.Furthermore, i want the sessions some how expire within 15 min or so.I be happy if an expert show me how i can create sessions and how to use it in php pages for above purpuse. Thanks
 

Users who are viewing this thread

Top Bottom