Jump to content

session variable lost after redirect


helmut2509
 Share

Recommended Posts

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

 

Link to comment
Share on other sites

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/");

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...