Jump to content

Recommended Posts

Does it matter how and where they're stored?

 

 

I was reading through this tutorial and I can across a discussion on where sessions are stored. I was under the impression that this wasn't something I had to worry about...

 

 

http://www.brainbell.com/tutorials/php/Where_To_Store_The_Sessions.htm

Link to comment
https://forums.phpfreaks.com/topic/44086-storing-sessions/
Share on other sites

Another question:

 

What happens when your site uses sessions to allow users access to certain pages but they've disabled cookies?

 

I see this site, for instance, has the session number stored in the address bar. Is there a more clandestine way to handle such a situation?

Link to comment
https://forums.phpfreaks.com/topic/44086-storing-sessions/#findComment-214082
Share on other sites

I see this in the php manual http://www.php.net/manual/en/ref.session.php

 

 

"A visitor accessing your web site is assigned a unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL."

 

 

 

Doesn't sending the session id through the address bar pose a security risk?

 

Should and CAN this be encrypted with mcrypt?

Link to comment
https://forums.phpfreaks.com/topic/44086-storing-sessions/#findComment-214083
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.