Safari keeps logging me out...
Anyone else have this problem?
I am using Leopard 10.6.3... Safari 4.0.5... Macbook Pro.
Help!?!?!
Mac OS X (10.6.3)
Mac OS X (10.6.3)
NP Complete wrote:
Thanks Alan, your info has been most helpful. I don't think I'll need to look at your screenshot after all.
I think I've got a working theory on the issue now.
NP Complete wrote:
Re-installing Safari will have NO effect. I wouldn't waste your time doing this. Rolling back will similarly have no effect.
1) A change in 10.6.3 that limits cookies to 4k per request coupled with the failure to throw out the oldest cookies first will allow a site to 'Denial of service' themself by setting a very large cookie. This generally looks to the web app as if cookies are not enabled (since the app can't actually set new cookies). This was resolved in 10.6.4, which now throws the oldest cookies away first when the total size of the Cookie header exceeds the 4k limit. A new possible issue here could be if the site expects the cookies to come back in the order in which they're set. Since cookie ordering isn't defined this would really be not-advisable.
sdlevi27 wrote:
I believe I've come up with the precise way to trigger this issue. I've created a test page that sets some arbitrary cookies. Using Safari 5 on Windows, or Safari 4 or 5 on Mac OS 10.6.4 I can reproduce this issue at will.
sdlevi27 wrote:
"4096 k total for the 'Cookie:' header size" but the spec clearly states "At least 4096 bytes per cookie (as measured by the sum of the length of the cookie's name, value, and attributes)".
No where in my test does 1 single cookie exceed 4096 bytes. Instead, it appears that cookies begin to get dropped when the sum of the size of all cookies for 1 host exceeds 4096 bytes.
sdlevi27 wrote:
Thanks Alan. Rushproject, I disagree with your statement that Safari is behaving "exactly as promised". I think you're confusing per-cookie limits in the spec with total cookie limits per domain.
Safari keeps logging me out...