This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Secure session Data

 
Namita Bhatt
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am calling response.sendRedirect(response.encodeRedirectURL(redirectString)) in my Action class,the action is called again
But since the session now is secure ,I don�t have the data from the previous session to use in this action.
Is there any way in which I can store the previous values from session and pass it on to the secure session as I need them in my action and jsp.

Thanks in Advance
Namita
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way you could do this would be to read the parameters passed in, and then attach them as parameters to the outgoing query string in the format ?parm1=value1&parm2=value2 ... etc.
 
Namita Bhatt
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Merrill for the reply,
but could you explain it in detail.
I can pass the values as you have mentioned but how do I retrieve those values in my jsp.
For ex. If I have a VO in the session ,I add it as param1 = VO
but how do i get it in my jsp.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic