Results 1 to 4 of 4

Thread: Help with login page

  1. #1
    Join Date
    Jul 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with login page

    ok... I'm using asp file format for this.. an i had one good problem... when i login in to the site it works but when i logout an login in with a diff user name an password it shows the same user name then the before.. ok i make it simple. how to login in as different user every time u create an login in as a new member... cause i an stuck now... if anyone can help me out...

    login page :: works fine
    when login in as user :: works fine
    when login as a different user :: shows the same user account when first log in.

    how i know.. simple.. cause i put welcome {side.username} to show the username. but it shows the same one....

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

    Default

    Use a database and a session. Does ASP support sessions?
    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
    Jul 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i'm not sure... a session? ?? ?? ?? i have a database which is up... session can tell me more???

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

    Default

    A session stores data about the user server-side. A cookie is used to remind the server which session should be applied to the user. It's the standard way to handle logins.
    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!

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
  •