Jump to content

sessions across servers?


XpertWorlock

Recommended Posts

I'm interested in knowing the best way to deal with sessions, especially when it comes to a website that is over multiple servers.

 

Is the best way to store the session data in a database, give the user a cookie containing the session id and than that way if the user is switched to a different server, than it will request all the session data?

 

Although I've never had a website where I've needed this, I'd like to learn and enforce this to prevent problems in the future.

 

Thanks guys

Link to comment
https://forums.phpfreaks.com/topic/189967-sessions-across-servers/
Share on other sites

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.