Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Changing Cookie Domain

$
0
0
Re: Changing Cookie Domain
Web Connection 5.0
Re: Changing Cookie Domain
01/12/2012
03:10:47 PM
3EO0WIHKO Show this entire thread in new window
From:
To:
Attachments:
None


It appears that the Web Connection framework ignores the domain option of the Set-Cookie header. In my case, I'd like to use .domain.com to apply the cookie to all sub-domains. I'm just going through my checklist here:

- Subclass wwHTTPHeader and change the AddCookie method to add a tcDomain parameter
- Locate all AddCookie calls inside wwHTTPHeader and ensure they pass the tcDomain parameter
- (RE)DEFINE WWC_HTTPHEADER to the new wwHTTPHeader subclass
- Subclass wwResponse and add cAutoSessionDomain as a property
- Set cAutoSessionDomain to the desired value in my wwProcess subclass

I think that about covers it. Any tips?




Rick Strahl
West Wind Technologies

Where do you want to surf today?
Reader Version: 5.0

from Maui, Hawaii



Viewing all articles
Browse latest Browse all 10393

Trending Articles