Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2004
    Thanked 0 Times in 0 Posts

    session_destroy(); and kill history?

    Hi there,

    wondering if it's possible to kill the history of a session?

    i.e. after/before destroying a session, also empty all the url's that a user visited during that session....

    is this possible, have been looking for a javascript solution, but so far no luck...

    Thanks in advance....

  2. #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Marion, IA USA
    Thanked 84 Times in 83 Posts
    What do you mean kill the history of a session and destroy all the URLs visited during the session? The session_destroy function deletes the session cookie file. Anything that you had stored in that session will be gone. Also the session will be automatically deleted after the specified time in the PHP configuration for the session timeout. If you are referring to removing the URLs from the visitors browser then you cannot do that by any means.
    CodingForums Supreme Overlord
    All Hail Spookster


Posting Permissions

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