Jump to content

User Awareness (Cookies and Session Question)


ScrollMaster

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?


Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.