This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I am trying to find a way to keep the parameters given to a page after redirecting to a login page and back.
Basically what I have is an e-mail being sent out saying you have a message and inside a link so the user can read it. the link looks something like http://www.domain.com/message.jsp?m=893487 but once they reach that page I have them redirected to a login page using response.sendRedirect("login.jsp?ret_url=message.jsp") then once they log in it redirects them back to the message page except now I no longer have the parameter "m=893487".
Is there any good way of storing parameters in cases like these or passing them along with the response.sendRedirect()?