SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Cork, Ireland
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Secure Sessions in PHP4

    How do I setup Secure Sessions in PHP4.

    I'm using PHP4, MySQL and SSL.

    My current thinking is to turn off cookies, and store a copy of the users encrypted password in a session registered variable. Then, for each page access check if this value matches the encypted password variable in the database.

    Is this secure, or is there a better or easier way to do this?

    Thanks

  2. #2
    SitePoint Zealot micmar's Avatar
    Join Date
    Apr 2001
    Location
    Melbourne, Australia
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure if this will help at all but its probably worth the read.

    http://www.devshed.com/Server_Side/P...inglySeamless/
    http://www.avgallery.com.au/ - Your ticket to high-end audio!


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
  •