Is there a reliable way of round tripping a HTTP cookie value exactly once?
e.g.
Set-Cookie: name=value; Max-Age=1;
…but Max-Age is in delta seconds not #requests.
The reason why I ask is this, Response.Redirect with POST instead of Get?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You mean you want it to go there, come back, and disable it when you receive it again?
On that basis it’s quite simple, set a flag in the cookie, then check it, and expire it immediately next time you get it.
Or do you mean something else?