• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Losing Session Data!!!

deepak bansal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am making a LoginServlet in which after all the validation i am creating a new session object(In which i am putting all the relevant data which will be require during the session). After this i am redirecting the the request to the ControlServlet which will display the appropiate page on the Browser . When User put up the next request i am not able to retrieve the session information which i had put in the LoginServlet. While redirecting the request from LoginServlet to the ControlServlet I am encoding the URL so that Session Id Should get appended .
I have tried both encodeURL and encodeRedirectURL but none of is working after encoding the URL in the LoginServlet I tried to print it on the Console It is not printing the Session Id (I have turn off the Cookies in the Browser). I am using the WebLogic6.0 and have set the required setting in the weblogic.xml . If any one has any idea the pl tell me .
Thanks & regards
Be Truthful to yourself!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic