Skip to content

Geez – A poison Cookie!

January 15, 2018

18-01-15 poison cookies!

Interestingly I had an error in my code that was trashing the 1st byte of the cookie value before retrieving it and, in combination with other sloppy code, it was propagating that trashed value even after i fixed the code! If there was a cookie in the incoming data it would transfer it to the outgoing header and the only way to clear it would be to win the game which is impossible because the cookie is trashed!

I’ll have to compile a one-off version that will just clear the cookie.  Or I guess I could check that the value is sensible before i use it – that would be more useful.

 

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: