Jump to content

how to pass parameters using redirect


albertfajarito

Recommended Posts

After it's done the redirect, is the url still displaying:  index.php?controller=authentication&action=warning&message=(text here)

 

Or has it done some form of further redirect after?

 

Just had a test and mine didn't redirect, so might be another issue

 

Have a check whether the data is being url encoded, might be losing it due to that. If it's not, you can change the code like this to make it work:

Tools::redirect('index.php?controller=authentication&action=warning&message=' . urlencode($message));

Hopefully it's one of those two issues and that sorts it, if not, let me know some more details and will look into it further

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
×
×
  • Create New...