Welcome Guest, Not a member yet? Register   Sign In
multiple session cookies with session library
#4

[eluser]WanWizard[/eluser]
Getting multiple cookies is a side-effect of the way the session libary works: every time you update something it writes a new cookie.

This can lead to issues when you have a session rotation in the the middle of your request, because

"If multiple cookies of the same name match a given request URI, one is chosen by the browser.
The more specific the path, the higher the precedence. However precedence based on other attributes, including the domain, is unspecified, and may vary between browsers. This means that if you have set cookies of the same name against “.example.org” and “www.example.org”, you can’t be sure which one will be sent back."

This means a browser can pick any, and if you have 10 cookies for the session, and after number 6 the id is rotated, there is quite a large chance that the browser will pick the wrong one, and the next request goes out with an invalid cookie...


Messages In This Thread
multiple session cookies with session library - by El Forum - 10-15-2012, 03:16 AM
multiple session cookies with session library - by El Forum - 10-15-2012, 10:59 AM
multiple session cookies with session library - by El Forum - 10-15-2012, 11:37 AM
multiple session cookies with session library - by El Forum - 10-15-2012, 11:47 AM
multiple session cookies with session library - by El Forum - 10-15-2012, 12:34 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 01:10 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 01:34 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 01:41 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 01:57 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 01:58 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 03:23 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 07:06 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 07:19 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 07:23 PM
multiple session cookies with session library - by El Forum - 10-15-2012, 09:54 PM
multiple session cookies with session library - by El Forum - 10-16-2012, 05:43 AM
multiple session cookies with session library - by El Forum - 10-16-2012, 06:17 AM
multiple session cookies with session library - by El Forum - 10-16-2012, 07:18 AM
multiple session cookies with session library - by El Forum - 10-16-2012, 07:46 AM
multiple session cookies with session library - by El Forum - 10-16-2012, 11:42 PM
multiple session cookies with session library - by El Forum - 10-17-2012, 11:58 AM
multiple session cookies with session library - by El Forum - 10-17-2012, 01:02 PM
multiple session cookies with session library - by El Forum - 10-17-2012, 05:55 PM
multiple session cookies with session library - by El Forum - 10-18-2012, 06:25 AM
multiple session cookies with session library - by El Forum - 10-18-2012, 07:58 AM
multiple session cookies with session library - by El Forum - 10-18-2012, 08:30 AM
multiple session cookies with session library - by El Forum - 10-18-2012, 10:21 AM
multiple session cookies with session library - by El Forum - 10-18-2012, 11:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB