Auto logout

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
kiwi
New php-forum User
New php-forum User
Posts: 124
Joined: Sun Feb 29, 2004 6:26 am
Contact:

Sat Sep 18, 2004 10:20 pm

i know session expired use to check how long a user is log in, but where should i put this code, is it in all my php pages or certain only? thanks

User avatar
ndtoan13
New php-forum User
New php-forum User
Posts: 23
Joined: Thu Sep 30, 2004 5:49 pm
Contact:

Thu Sep 30, 2004 11:37 pm

You said
session expired use to check how long a user is log in
.
How do you check "How long a user is log in", if you can, maybe you take a session then subtract it to previous session . So why do you wonder your page have session start or not, because seesion is store in the server and you can take it whenever you want.
Of course, if you want to check session, you must have it at the beginning of your code.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests