Hello Monks.
I'm working on a Catalyst app. I want to make things nicer when people hit the app, discover they're logged out, and then log in. I not only want to redirect to the originally intended page, but I also want to include any parameters in that redirect.
This is primarily to ease testing for me. I'll fill out a form, get an error, apply a fix, restart the fcgi process, and then I'll hit reload, which resends my query. But I'm logged out because I restarted the server. So, I get bounced to my login screen. I then have to log in and re-enter everything in my form.
What I want to do is submit my request, get bounced to the login screen and then after login, have my originally submitted request processed. I don't even want to see the form again.
I assume this means populating $c->response in some way. Should I go through $c->request->params and stick everything on the URL that I redirect to, or is there a better way?
Thanks!
--Pileofrogs
In reply to Catalyst Redirect Hints? by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |