Results 1 to 7 of 7

Thread: Remember Login And Password with cookie

  1. #1
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Remember Login And Password with cookie

    I am desperately trying to find a script that will save the login id and password to a cookie so that if the page is revisited in the future the users login info is remembered.

    I have searched and searched and have been unsuccessful so I am in great need of guidance and expertise on this matter. I am fully aware of the security issues of saving a password in plain text. I would like to get a working script first then I will learn about password hashing later.

    My closest attempt was by using the Recall Form Values script II on this site and the result was successful at saving the login id but not the password. I then came upon this post: http://www.dynamicdrive.com/forums/s...ht=recall+form which is basically the same question as mine. I tried the edited script by ddadmin which was supposed to work at saving the password also but It didn't work for me.

    Anyone that can help me with this.. Please Do!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If the login and password are for server-side use, they should be saved server-side as well. Javascript is not the tool for that.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It is not server-side. I know it can be done via javascript.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

  5. #5
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John thanks for links but if you had read my posts you would've seen that those are the links to the very basis of my problem. I am still searching a solution to this problem.

  6. #6
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    It is not server-side. I know it can be done via javascript.
    Yes, it can be done with javascript, but it is not reliable. Some people disable javascript in their browsers. Server-side is the better way to do it. Is there any reason in particular you're not doing it server-side?
    - Mike

  7. #7
    Join Date
    Jan 2007
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Because I have no knowledge in server-side languagues.
    I was simply trying to take an already made script from this site and the already edited version of this script and figure out why it isn't working for passwords.

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
  •