Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Banned
    Join Date
    Dec 2006
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    remember me on login

    hi my script www.myprofilepic.com runnin dolhpin 5.4
    was wondering how i cud add the remember me feature on the login box,so when people close page and open it,they still remain logged in

  • #2
    New Coder
    Join Date
    Mar 2006
    Location
    London, UK
    Posts
    58
    Thanks
    3
    Thanked 0 Times in 0 Posts
    may be you need to add sessions...

  • #3
    New Coder
    Join Date
    Dec 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think you need cookie's to do what you want to do. When someone logs into the page for the first time, it starts a session. That session creates a cookie if they check the remember me box. Later, when they access that same page, the login script checks if there is a cookie set, and if there is, reads the data from that cookie automatically log in.

    Here is an article I googled:
    http://www.devshed.com/c/a/PHP/Creat...-Login-Script/
    Last edited by Crimsonjade; 12-21-2006 at 04:12 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •