Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jboss session problem

 
sreenivas arumilli
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

We had a problem in sessions. We logged in and logout and then again we logged in .After that if we click any link in the site ...it was loading with new session.

Please give me some inputs on it to resolve this.

Regards,
Sreenivas A.
 
sreenivas arumilli
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please provide any inputs
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sreenivas arumilli wrote:HI All,

We had a problem in sessions. We logged in and logout and then again we logged in .After that if we click any link in the site ...it was loading with new session.

A logout essentially is a session invalidation. So logging in again is obviously going to create a new session. That's the expected behaviour. What's the problem with that?
 
sreenivas arumilli
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup..But after logout..If I login again and then If i click any link in the site...the session was resseted And user was thrown out.

Regards,
Sreenivas A.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sreenivas arumilli wrote:the session was resseted And user was thrown out.

Regards,
Sreenivas A.


You'll have to explain more on what you mean by that. Like I said, a logout implies a session invalidation and a login implies a new session.
 
sreenivas arumilli
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response.


When we just launch a site(at this point not logged in) then a new session is created in jboss..when I login to my site and then I logged out(I haven't making any session invalidation) ..So still we are keeping the same session.

So we when we again logged in to site it was able to login with the same session id. but after the login if we click any link in the site then suddenly the session id was changing to new one as result of new one our user was asking for login again.


Regards,
Sreenivas A.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic