SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Dec 2000
    Location
    Orange County, Ca
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Closing or Destroying A Session

    When you are finished with a session in php is there a way to destroy or close it like the Session.Abandon command is asp? I know you can use session_destroy or session_unset to destroy the data or variables, but this does not destroy the session.
    Wordpress Auto Installer
    www.webproco.com

  2. #2
    SitePoint Addict kunal's Avatar
    Join Date
    Oct 2000
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    session_destroy will destroy the session...

    the session automatically gets destroyed once the browser is killed.. it also gets destroyed by the server after a particular period has lapsed.. this period can be defined in your php.ini file...
    i dunno...


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
  •