• Post Reply Bookmark Topic Watch Topic
  • New Topic

Keeping parameters  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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()?

Any help would be greatly appreciated!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!