httpcookie
How to create a non-persistent (in memory) http cookie in C#?
I want my cookie to disappear when the user closes their brower-- I\'ve already set some promising looking properties, but my cookies pop back to live even after closing the entire browser.[详细]
2023-02-01 03:03 分类:问答putting ='s, ampersands and colons in a cookie [duplicate]
This question already has answers here: Closed 12 years ago. Possible Duplicate: Allowed characters in cookies[详细]
2023-01-27 08:02 分类:问答HttpCookie works locally but not on server
I am having issues with my cookie management code.On every page I look to see if a key value has been set.My problem is that looking at the cookie creates an empty cookie.[详细]
2023-01-24 19:58 分类:问答Quirky cookie behaviour
A colleague of mine asked me to take a look at some cookie behaviour.He created simple web app that created a cookie and inserted the value of a text field, he then checked the cookie collection on th[详细]
2023-01-22 13:41 分类:问答Why is Cookie available in Request immediately after setting using Response?
In pageload, if you do Response.Cookies.Add(..开发者_如何学运维., immediately in the next line, you can access that cookie via Request.Cookies(...[详细]
2023-01-10 17:28 分类:问答HttpCookie is not deleted when session changes or is invalid
I\'m creating an HttpCookie, setting only the name and value and not the expires property, then adding it to the response.Simple enough.The cookie is created (but not persisted) as expected.The proble[详细]
2023-01-07 22:26 分类:问答ASP.NET Webforms site using HTTPCookie with 100 year timeout times out after 20 minutes
I have a site that is using Forms Auth. The client does not want the site session to expire at all for users. In the login page codebehind, the following code is used:[详细]
2023-01-03 00:16 分类:问答httpCookie cause the page not to load
I\'m using VS 2010, vb.net and asp 3.5.I have a simple default.aspx page that has Dim ctx As HttpContext = HttpContext.Current[详细]
2022-12-27 12:03 分类:问答The difference between HttpCookie and Cookie?
So I\'m confused as msdn and other tutorials tell me to use HttpCookies to add cookies via Response.Cookies.Add(cookie). But that\'s the problem. Response.Cookies.Add only accepts Cookies and not Http[详细]
2022-12-12 18:42 分类:问答