sessions
  1. sessions (3 messages)

    Will the session id be deleated and new session id created. When I invalidate the session by session.invalidate().It is not happening in jrun server.
    ie. When I call session.invalidate(); and come again in the same browser window.The sessionid is remaining same.
    Is it server problem or happens like that.
     

    Threaded Messages (3)

  2. sessions[ Go to top ]

    I dont think it will delete session id,as far as i know
    session id is saved in cookie side,session.invalidate()
    may be just to release session context in the servlet container binding with this session id.

  3. sessions[ Go to top ]

    Thanks for there reply

    I would like to know whether the same session id will be there are new seeion id will be created after

    session.invalidate();
    req.getsession(true);



  4. sessions[ Go to top ]

    A new session id is created and all session information to the old one will be garbage collected.