How to create and delete cookies using ASP .NET?
-
-
Answer:
I would use the built in security that is built in with ASP.NET 2.0 for Forms Authentication. Saves you the time from manually creating, setting cookies, redirecting users etc. But if you reall want to expire the cookie yourself: <cookie>.Expires = DateTime.Now;
BOB_ZHANG at Yahoo! Answers Visit the source
Other answers
I would use the built in security that is built in with ASP.NET 2.0 for Forms Authentication. Saves you the time from manually creating, setting cookies, redirecting users etc. But if you reall want to expire the cookie yourself: <cookie>.Expires = DateTime.Now;
Darrick
Related Q & A:
- How to Search using jQuery ASP.Net?Best solution by Stack Overflow
- How to create a Restful web service in .Net Using MySQL?Best solution by stackoverflow.com
- How to create your own slider using jQuery?Best solution by Stack Overflow
- How to save high resolution image canvas to server using asp.net?Best solution by Stack Overflow
- How can I fix parser Error in ASP.NET?Best solution by parse.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.