Jump to content

Session ID's and Databases


Clinton

Recommended Posts

I've read in a couple of places how putting the session ID into the database and then recalling it on each page and bouncing it with... something?... is one of the safest ways to maintain a connection. Does anybody know what I'm talking about or know how this might work? I've googled it for 30 minutes and can't figure it out.

Link to comment
https://forums.phpfreaks.com/topic/102269-session-ids-and-databases/
Share on other sites

Session id's as keeping members logged in?

 

I dont think you need to store that in a database,

 

I think sessions stay on

 

untill you close them (member logout)

 

or untill the member closes the browser

 

but for each page you want the session active you have to do the session_start() function at the very top then i beleive you can pass the session variables to that page.

Archived

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

×
×
  • 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.