session_destroy(); is not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • goodamr
    New Member
    • Jun 2007
    • 24

    session_destroy(); is not working

    Hi,

    I'm running PHP on Windows Server 2003, IIS 6.0

    session_destroy (); is not working. Anyone know why? and how can I destroy the sessions?

    Thanks in advance.
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    Please post some code. You haven't given us anything to work with.

    Comment

    • goodamr
      New Member
      • Jun 2007
      • 24

      #3
      - I have a page named login.php, it has a form to authenticate user against LDAP, when the login is successful, it directs the user to page named index.php
      - Page named index.php has a log out link which goes to login.php, in the login.php I have added session_destroy (); to destroy all sessions. But it dosn't destroy all sessions. I don't know why.

      Comment

      • JKing
        Recognized Expert Top Contributor
        • Jun 2007
        • 1206

        #4
        I don't know why either. But if you posted some code I might be able to help.

        Comment

        Working...