Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cookie in asp.net site

Status
Not open for further replies.

d2007

Programmer
May 17, 2007
18
US
A page on my asp.net website is being accessed via a re-direct from another site/domain.

That calling site/domain has already set a client cookie.

I have been asked to remove that cookie if it exists when the user completes a purchase on my site.

I know how to modify a cookie that is set by my site.

How can I expire this cookie being set before the re-direct?

I have been advised the cookie has been created to allow modification.

Thanks in advance.
 
Thanks for the reply.

What about if I am hosting the site on a sub-domain of the calling site.

Example:

Cookie is set (server A):
parts.auto.com

I want to expire cookie from (server B):
purchase.parts.auto.com
 
I'm not exactly sure, I still think the domain or sub domain will be the controller. I have never tried that before. Give it a shot and see if it can be done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top