Ask a Question related to ASP.NET Building Controls, Design and Development.
-
xeroxero #1
Delete Cookie Control?
What kind of JavaScript is needed to delete all of the cookies for the
current web site, and can that be registered in an ASP.NET page as a
button?
Thanks.
xeroxero Guest
-
Delete cookie when exit page
Hi! When a user enter my page, a cookie is created. When the user leaves the page (closeing the page), the cookie needs to be deleted. How... -
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,... -
#25136 [NEW]: THIS IS NOT A BUG (I think) just cookie issue, it doesnt delete!
From: pmpp at sapo dot pt Operating system: Windows Xp PHP version: 4.3.2 PHP Bug Type: Unknown/Other Function Bug... -
Delete the cookie?
Hello everyone, Does anyone know how to get rid of the cookies when the internet explorer window is closed after we use Forms authentication mode... -
How to delete a cookie?
I need the statement for deleting a permanent cookie that I created earlier... The .NET documentation refers to the .discard property, but the... -
Walter Wang [MSFT] #2
RE: Delete Cookie Control?
Hi,
You can use client-side JavaScript or server-side code to delete current
domain's cookies.
For client-side JavaScript, see
[url]http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_C[/url]
ookies/Index.cfm for example. You can use
"ClientScript.RegisterStartupScript" in the Button's Click event to call
the JavaScript to delete cookies.
For server-side code to delete the cookies, see following MSDN Library for
more information:
#ASP.NET Cookies Overview
[url]http://msdn2.microsoft.com/en-us/library/ms178194.aspx[/url]
Hope this helps. Please feel free to post here if anything is unclear.
Sincerely,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
[url]http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif[/url]
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
[url]http://msdn.microsoft.com/subscriptions/support/default.aspx[/url].
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] Guest
-
Walter Wang [MSFT] #3
RE: Delete Cookie Control?
Hi,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Have a great day!
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] Guest



Reply With Quote

