PDA

View Full Version : Php Session and the time loaded



Tristan S.S.
02-26-2007, 04:01 AM
Hi all.

Is it possible to, in a php session, stamp the time a user visits a page, so that on other pages it can be echoed? I have tried to use time() but that updates everytime the page loads... Is there a very simple solution...in PHP?

Here's more detail.

Page # 1 starts the session. It must remeber the time it is loaded, then direct to a second page.

Page # 2 checks the url for a key and checks the recorded time. If more than 10 seconds has elapsed, the page directs to an "failed" page, however, if the seconda page is reached within those 10 seconds, the page directs to a "Success" page.

Hope this helps to explain.

Thanks!

thetestingsite
02-26-2007, 04:09 AM
I have answered your other post; also, please don't double post.