Jump to content

Archived

This topic is now archived and is closed to further replies.

ScrollMaster

User Awareness (Cookies and Session Question)

Recommended Posts

Hello,

  I am currently working on my own PHP Project that will be a simple Time Based Strategy Games where a user can login, build an army, and attack other users.
  I have a question about about User Awareness; Knowing when the user is logged in and whether that it is the same user and I am not being hijacked.

  I am unsure what would be a good method to implement user awareness with security.

Should I have a Table that Stores Session Id's of currently logged in user?
Should I have a Cookie that is sent to the user that they can send back to me so I know they are the same user?
What Should I be Checking For?


Share this post


Link to post
Share on other sites
D: All of the above. (if your going secure)

Record the session id, IP, and any proxy's.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.