Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Monday September 30, 2002
11:32 AM

cookies

[ #8097 ]
gah!

I've just wasted about 45 minutes mucking about with cookies in ASP to discover that most browsers will just discard any cookie whose domain field doesn't match its originator.

After thinking about it, this is pretty reasonable - as richardc pointed out - the owner of www.aaaa.com wouldn't want the owner of www.bbbb.org.ru setting a visitors cookie for www.aaaa.com to something - trampling over its legitimate values.

Unfortunately most of the pages (on asp) I have read on the 'net entirely neglect to mention this and even go so far as to reccomend specifying a domain different to the originator to pass values from site to site - one site even reccomends sending userids in urls!

The problem with working with ASP is that bad practice is so prevelent that you have to use worse practice to get around all the shortcuts and bodges that are rampant in ASP implementations and microsoft shops.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.