I am having a doubt that why my SessionID is changing for each web page after login in ruby-on-rails web application. Generally SessionID will be constant for a user through out the session till the user logoff. But in my case its changing. I am using a ruby webapplication - assancart, I used a python code for getting the cookie data from the cookiejar.
The data in cookie I got it after login is:
When I decode it, I got
When I click a link in that page (after login) and again tried to read cookie, then I got cookie data as:
When I decode the above result, I got:
When I compare both the SessionID it differs, but SessionID must be same for throughout the login. Why it is happening to me like that.
Other thing I want to know is cookies will have session values also, but I am not getting that session values such as session role, etc etc, when I am reading cookie.
Can any one give me a answer for this?