Skip to Content
author's profile photo Former Member
Former Member

Not getting value from Session after response.redirect


I have a iview in which I set a value in a session and then I redirect it using HttpServletResponse.redirect();

to another IView. In this iview I try to retrive the value from Session but I get Null. I have checked the value is being set.

Kindly help me sort this out or let me know if there is another way to achieve this functionality.

Thanks & Regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 15, 2005 at 08:03 AM

    Hi Ravi,

    to be vareful: This sounds unprobable. Did you use the HttpSession on both sides?!

    Please strip down your code to an absolte minimum to reproduce the problem. If you don't get a solution by this way, then come back and post the corresponding code parts.

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.