IT Community - Software Programming, Web Development and Technical Support

how to clear the http cookies in asp.net

This is a discussion on how to clear the http cookies in asp.net within the ASP and ASP.NET Programming forums, part of the Web Development category; how to clear the http cookies in asp.net...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 08-09-2007, 05:31 AM
GDevakii GDevakii is offline
D-Web Sr.Programmer
 
Join Date: Aug 2007
Posts: 138
GDevakii is on a distinguished road
Default how to clear the http cookies in asp.net

how to clear the http cookies in asp.net
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-09-2007, 06:36 AM
a.deeban a.deeban is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 279
a.deeban is on a distinguished road
Default Re: how to clear the http cookies in asp.net

Hi,

we can remove the cookie using a call to the simple function

Response.Cookies.Remove("MyCookie");


....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-09-2007, 07:29 AM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 131
Anandavinayagam is on a distinguished road
Red face Re: how to clear the http cookies in asp.net

if you want to clear all cookies

Response.Cookies.Clear();

in ur browser...

but is it clears all browsers cookies?
__________________
The MOSS
Master of Solution Service
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/3250-how-clear-http-cookies-asp-net.html
Posted By For Type Date
DiscussWeb IT Community - Fusing This thread Refback 08-09-2007 06:24 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
clear screen the command mode? saravanan Java Programming 2 03-21-2008 05:42 AM
How to clear HTTP Cache Content? senraj PHP Programming 3 11-01-2007 07:47 AM
How to clear all the textboxes in my form in ASP DOT NET and C#? a.deeban ASP and ASP.NET Programming 3 09-20-2007 07:23 AM
How to clear Session SaravananJ C# Programming 4 09-12-2007 02:38 AM
WebException, HTTP 404 ,the request failed with HTTP status 404: Not Found kingmaker ASP and ASP.NET Programming 2 08-29-2007 06:19 AM


All times are GMT -7. The time now is 02:35 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0