Ask a Question related to ASP.NET General, Design and Development.
-
Brian #1
Cookie Expiration
Is there a way to write a cookie to the browser, then redirect....
If I do the following, the cookie is not written.
Dim cookie As New HttpCookie(CookieName)
cookie.Values.Add(ID, value)
cookie.Expires = Date.Now.AddYears(1)
Response.Cookies.Add(cookie)
response.redirect(url)
But if I omit the "cookie.Expires" then it works fine...but it is not
permanent??
Am I going about this the right way? Any input would be greatly
appreciated,
Brian
Brian Guest
-
Cookie Expiration Date
:confused; Can anyone help me figure out how to change the date that my coldfusion server sets for expiration on client housed cookies? I have run... -
RedirectFromLoginPage persistent cookie expiration
Passing true for the second parameter of RedirectFromLoginPage creates a persistent cookie. When does this cookie expire? -
Cookies set one time, I delete cookie, cookie is never set again!
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes,... -
Expiration time of a cookie
What is the longest expiration time of a cookie? Thanks ________________________________________________________________ The best thing to hit... -
authentication cookie vs session cookie
Hi, What are the differences between authentication and session cookies? In my web.config file, I set the cookieless attribute for the...



Reply With Quote

