Results 1 to 2 of 2

Thread: Php Session and the time loaded

  1. #1
    Join Date
    Nov 2006
    Location
    90 miles north of Las Vegas
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Php Session and the time loaded

    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!

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    I have answered your other post; also, please don't double post.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •