Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2003
    Location
    california
    Posts
    32
    Member #
    3452
    Hey eveyrone.

    I've got some projects that I'm working on that rely on sessions and distinguishing one user from another. I'd like to learn as much as I can about how to properly program session's and how to keep a user's session secure.

    Does anyone have any mailing lists, articles, books, or websites to offer for reference?


    Thanks,
    Chris.

  2.  

  3. #2
    Senior Member skrlin's Avatar
    Join Date
    Apr 2003
    Location
    Illinois
    Posts
    562
    Member #
    1063
    - Brian

  4. #3
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Sessions aren't the most secure way of programming.

    If you must use them, you should create a server-generated ID and store it in your database as a reference to that user-session, then store it in the session context also (call it sessionContextID or what not). Upon page refresh, you can then retrieve the user's information on the server side based upon the stored sessionContextID.

  5. #4
    Junior Member
    Join Date
    Dec 2002
    Location
    chennai , tamil nadu , India
    Posts
    13
    Member #
    384
    Yes that's the way to go
    Chris, Developer, Chrisranjana.com
    Software developers,
    Php and RoR programmers,
    http://www.chrisranjana.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:47 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com