Cant log - SESSION problem
Posted: Fri Mar 09, 2018 4:12 pm
Hello to everybody
I start this on the famous post "How to Protect a Download"
I use it since years but since few days/weeks, I cant log any more
Ie, when I fill name and pwd as usual, the system keep asking me to log
I display the user name and it say "Not connected, of course everything is fine (and doesnt change since times)
Naval point me on SESSIONS problem, not saved, but I have very few if any, way to act here
My site is hosted on AWS. I have a buffer zone, where I publish and here everything works well, but when it goes live, I cant log anymore
Here is it what my IT says (they host also the corporate web site there) :
I have checked, and PHP does not have a session_save_path variable set in php.ini. It does, however, use /tmp/ on the server for temp session files, which we use in IT all the time, to keep users connected to their own profiles and accounts.
One thing to keep in mind is that when the site is live it is on multiple servers in multiple Amazon data centres, using load balancing, the load balancer will keep the user to the same server, while the session is alive, based on the SESSION_ID cookie, which PHP issues and uses.
> So your application needs to understand that it will need to use php sessions to keep to one server
Anyone also on AWS ?? with problem ??
Thanks in advance
I start this on the famous post "How to Protect a Download"
I use it since years but since few days/weeks, I cant log any more
Ie, when I fill name and pwd as usual, the system keep asking me to log
I display the user name and it say "Not connected, of course everything is fine (and doesnt change since times)
Naval point me on SESSIONS problem, not saved, but I have very few if any, way to act here
My site is hosted on AWS. I have a buffer zone, where I publish and here everything works well, but when it goes live, I cant log anymore
Here is it what my IT says (they host also the corporate web site there) :
I have checked, and PHP does not have a session_save_path variable set in php.ini. It does, however, use /tmp/ on the server for temp session files, which we use in IT all the time, to keep users connected to their own profiles and accounts.
One thing to keep in mind is that when the site is live it is on multiple servers in multiple Amazon data centres, using load balancing, the load balancer will keep the user to the same server, while the session is alive, based on the SESSION_ID cookie, which PHP issues and uses.
> So your application needs to understand that it will need to use php sessions to keep to one server
Anyone also on AWS ?? with problem ??
Thanks in advance