22 posts in this topic
Recently Browsing 0 members
No registered users viewing this page.
I have a situation were a user cannot logon to several different PW installs fromdifferent machines on his workplace network.
Sometimes the initial logon is working but when navigating the PW backend he gets thrown out. Sometimes even the initial logon is not working and he is redirected too many times and the browser throws a redirection error.
This points to PW loosing it's session. But the same sites are working fine when accessed from within other network environments.
The user's workplace network has some pretty tight security (firewall) restrictions in place that prevent PW keeping it's session.
I don't know enough about network security so I can't tell what exactly could cause that problem. I checked in the browser settings to make sure session cookies are allowed and there.
Has anyone ever experienced issues like that and would there be a way to make PW keep it's session under these circumstances?
Hey Guys! Im new to PW and am working on a website built on PW. Im trying to understand how sessions work in PW. Specifically what exactly is happening when session expires. The thing is that my client wants to be redirected to homepage whenever session expires, so basically he doesnt want to be redirected to admin login page when he's in the admin environment of PW(he doesnt want his clients to see the admin login page for whatever reason). Is it possible to hook to the session expiration and redirect to a specific url? And what is the correct way to do it in PW?
I would appreciate the help!
By Dennis Spohr
I have problems to keep my session on different subdomains (including www).
I've set the following config:
$config->sessionCookieDomain = '.mydomain.net'; $config->sessionCookieSecure = false; But it doesn't work, I always loose the session when I switch between www.mydomain.net and example.mydomain.net.
Could it be because both of them have a different SSL-Certificate? (https)
Thanks for any help!
i have a login form on my page which is handled within a template called by ajax. Login works fine, but only if the site doesn't get reloaded - which isn't the intention but may occur. So is there a way to manually reset the session data from within my form-handler template after successfully calling $session->login($username, $password), to have it working after a page reload?