helmut2509 Posted April 3, 2017 Posted April 3, 2017 Hello, I just found out that after invoking a $session->redirect the contents of my $session variables got lost. There has already been a posting to this subject three years ago, but nobody suggested a proper solution. Do I have to assume that this is a pw bug and that I have to use $_SESSION instead? thanx, Helmut
arjen Posted April 3, 2017 Posted April 3, 2017 Are you absolutely sure you are on the same domain after the redirect? I had some issues with redirect to subdomains. 2
helmut2509 Posted April 3, 2017 Author Posted April 3, 2017 3 minutes ago, arjen said: Are you absolutely sure you are on the same domain after the redirect? I had some issues with redirect to subdomains. yes of course. The redirect is pointing to a page inside my pw app, there is no subdomain. $session->redirect("/my-pw-page/");
helmut2509 Posted April 3, 2017 Author Posted April 3, 2017 22 minutes ago, arjen said: Are you absolutely sure you are on the same domain after the redirect? I had some issues with redirect to subdomains. I just found out that it was my fault :-( Now it works, thanx anyway....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now