• Post Reply Bookmark Topic Watch Topic
  • New Topic

Losing session values during Redirect

 
karthik manick
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying Single signon to a different application from my application. i use redirect to open the new URL in a separate window. MY single signon works well. But i am losing the session values in my application.
Because of this when i close the new window and click on any link in my application, i am getting error sicne all application objects inside session are reset to null.
Please help me how to retain the session values after Redirect.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not quite sure, but it seems like you are expecting to be able to share session values between different web applications, and that cannot happen. Or is the problem something else?
 
karthik manick
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently in APplciation A and from there i am redirecting to Application B using sendRedirect(response.sendRedirect(Application B's URL). Now Application B is getting opened in a new window which is fine.
But when i go to Application A and click on any link, i am getting an error page. THis is because all my profile values which were inside session are lost. I dont want to lose any session values in Application A. Is there a solution?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!