Welcome to WebmasterWorld Guest from 54.196.126.39

Forum Moderators: open

Message Too Old, No Replies

setting a cookie

on a cloaked page?

     
11:21 am on Oct 26, 2001 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Feb 8, 2001
posts:582
votes: 0


Is it possible to set a cookie from a cloaked page to be used on another domain, ahem, i.e. the domain that the surfer is sent to .. does that make sense?
11:41 am on Oct 26, 2001 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38071
votes: 16


Ya, it is possible, but not likely to be effective. Especially now that IE6 has a default setting to reject those types of "3rd party cookies". You'll set the cookie fine, but the new domain will only be able to read it about half the time. People will default to rejecting those types of cookies with IE6.

Most of the alternatives I can think of would deal with a script. You could stuff form values in a redirect domain.com/foo.cgi?where=Iwashere or something. Then foo.cgi handles the form value and transforms it into a cookie or what ever purpose you need it.

11:44 am on Oct 26, 2001 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:Feb 8, 2001
posts:582
votes: 0


Thanks Brett.