Clinton Posted April 22, 2008 Share Posted April 22, 2008 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 More sharing options...
intodesi Posted April 22, 2008 Share Posted April 22, 2008 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. Link to comment https://forums.phpfreaks.com/topic/102269-session-ids-and-databases/#findComment-523648 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.