Results 1 to 3 of 3

Thread: Isn't logging in and out all about sessions??

  1. #1
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Isn't logging in and out all about sessions??

    Hi all,
    I was wondering if anyone could tell me that isn't logging in and logging out is all about setting and destroying sessions?? When you log in you set a session with value "loggedin" and check if that session exists(allowing the user to access a page) and when you log out you just destroy that session?? I have been curious about this for a while but if anyone could help me with this, it would simply be great.

    Thanks in advanced!!!

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It doesn't have to be done that way, but that's probably the best way to do it, yes
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oh, thanks Twey!!! Now I think that I should go on with my authentication script. Thanks again!!

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
  •