Link to home
Start Free TrialLog in
Avatar of huzefaq
huzefaq

asked on

How JSESSIONID is created

Hi Guys

I would like to find out how JSESSIONID is actually created. Also is it unique everytime it is craeted. I tried logging in an application with a userid and note down the JSESSIONID. After logging out I logged in again using a different login information but the JSESSIONID remained the same. Would anyone know how I can make them unique to a particular user if that is possible.

Thanks
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

>>After logging out I logged in again using a different login information but the JSESSIONID remained the same.

That sounds very strange. Can you reproduce it?
Avatar of huzefaq
huzefaq

ASKER

yes I acn reproduce it. Does this happen because I am using the same browser.
Also is there a way that at the login time I can make sure that a new JSessionID is produced

Thanks

Are you in control of the web app?
Avatar of huzefaq

ASKER

yes I am testing this in my local was server
SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial