-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: nitin_karan
Message 5 in Discussion
Hi Sachin, You can use the following cookie delete script. <%@ Page Language="C#"%>
<%@ Import Namespace="System.Web.Security"%> <%
Response.ContentType="image/gif"
Response.Expires = -1;
Response.AddHeader("P3P", "CP=""TST"""); Response.Cookies("MSPProf").Value = "";
Response.Cookies("MSPProf").Expires = DateTime.MinValue;
Response.Cookies("MSPAuth").Value = "";
Response.Cookies("MSPAuth").Expires = DateTime.MinValue;
Response.Cookies("MSPConsent").Value = "";
Response.Cookies("MSPConsent").Expires = DateTime.MinValue;
Response.Cookies("MSPSecAuth").Value = "";
Response.Cookies("MSPSecAuth").Expires = DateTime.MinValue;
Response.Cookies("YourSiteCookie").Value = "";
Response.Cookies("YourSiteCookie").Expires = DateTime.MinValue; //If you have
configured your Web site to use a domain other than the default, then
//uncomment and modify the following lines:
//Response.Cookies("MSPProf").Domain = your cookie domain ;
//Response.Cookies("MSPProf").Path = your cookie path ;
//Response.Cookies("MSPAuth").Domain = your cookie domain ;
//Response.Cookies("MSPAuth").Path = your cookie path ; //also remember to delete any
site-specific cookies
//that are based on .NET Passport profiles!
//For example, delete the shopping cart cookie.
Response.Cookies("ShoppingCartCookie").Value = "";
System.Web.Security.PassportIdentity.SignOut("images/signoutcheckmark.gif"); %> --
Nitin
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]