|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sessions
Hi,
I am trying to use sessions for a restricted area of a web site. So far I have my users logged in, and the session started using.. session_start(); session_register(username); session_register(password); How do I... 1. Ensure that the session exists on the next page. If it doesn't, I would redirect to login page. 2. Put a timeout on the session of 600secs so if the user does not so anything fo 10 mins, then clicks a link they are asked to log in again. |
|
#2
|
|||
|
|||
|
RE: Sessions
|
|
#3
|
|||
|
|||
|
RE: Sessions
make sure that you put a "require(your file)" statement so a user cannot jump ahead
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Sessions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|