in reply to Catalyst Redirect Hints?
Store the posted variables on behalf of the browser. Create a unique key which you can later use to reference that posted content (and its origin), and serve the login page including that key as a hidden variable in the login form. If the login succeeds, serve the original form with the saved variables filled in. No redirects involved. Of course you need some code to clean up that non-authenticated posted content, if the login fails (or time runs out).
I don't know the Catalyst specifics to do that, but that's how I'd do it - i.e. create a non-authenticated session which results in serving the login form.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Catalyst Redirect Hints?
by saberworks (Curate) on Mar 25, 2009 at 22:00 UTC | |
by shmem (Chancellor) on Mar 25, 2009 at 22:52 UTC |