Using cookies across domains

Results 1 to 2 of 2

Thread: Using cookies across domains

  1. #1
    Join Date
    Dec 1969
    Posts
    114

    Default Using cookies across domains

    *<BR>I have two machines within my site domain. Let&#039s say, for example, I have a support.mysite.com and another machine that is mainsite.mysite.com. On mainsite.mysite.com, I write a cookie within ASP, saving about 15 fields.<BR><BR>On support.mysite.com, I&#039d like to use some of that information to autopopulate some of the fields already filled in by the user on mainsite.mysite.com. Is there a way to tell the cookie that it can be used by any domain machine that calls it by name (so, specifying multiple domains)?<BR><BR>Please respond here on the list and via email (stuarttw@pipeline.com) if possible.<BR><BR>Many thanks!<BR>Stu<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    716

    Default RE: Using cookies across domains

    I think you could use:<BR><BR>Response.cookie(YourCookieName).domain = mysite.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •