LittleJack has asked for the wisdom of the Perl Monks concerning the following question:

This seems like it should be easy but I can't figure out how to do it — I want to store some information from the path the user went to originally, when they were not logged in, and re-use it after they've logged in.

You can't do that with the stash because it isn't persistent. I've successfully captured the information and I've tried setting it in $c->session which is a simple session object which exists even if they're not logged in, then passing it back into the new session when they're logged in but when I try that it says the value isn't there in $c->session. This is before any $c->delete_session call.

Is there a way to do this, or is Catalyst preventing me from doing it for some good reason?