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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Location
    FL, USA
    Posts
    153
    Thanks
    13
    Thanked 0 Times in 0 Posts

    giving access to pages based on cookie...

    guys I want to be able to give access/redirect to specific pages after a user login based on the cookie set during the login process, and once the user is at that page check his credential... could anyone advise me on what's the best way to go about this?


    thanks
    www.pctechtips.org

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Use php sessions. You could use a database as well to store the usernames and passwords. This tutorial seems okay

    http://hvassing.com/2007/simple-php-...ion-and-mysql/
    Last edited by _Aerospace_Eng_; 08-09-2008 at 02:23 AM.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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