"Agile Web Development with Rails" discusses a friendlier login
system. Basically, if a user follows a link on Page A to Page B and
Page B is login-protected, my understanding is that the user would be
diverted to the login page. Upon successfully completing the login
page, the user is automatically sent directly to Page B which was his
My question is this: Suppose that Page A were a form which supplied
post data to Page B. Does Rails preserve the form data across the
intervening Login page so that it's available to Page B? I am very
curious as to how Rails handles this situation.
I fully realize that this hypothetical is very unlikely to arise in
practice and there are many available work-arounds. Putting those
aside, I'm just interested in knowing how Rails handles this
Thanks for any input.