Archive of UserLand's first discussion group, started October 5, 1998.

Re: Tricky problem!

Author:Adam Trachtenberg
Posted:11/23/1998; 5:27:51 PM
Topic:First message
Msg #:419 (In response to 415)
Prev/Next:418 / 420

You should just make the cookie start with ".userland.com" instead of "nirvana.userland.com". It's a security feature/flaw that you can only read cookies from the domain they're sent from. The best you can do is just use the domain name itself without any subdomains, so all your Web servers can read the cookie, otherwise, as you've discovered, you don't get anything back.

Also, if you want to convert users with old cookies to new ones without them having to log in again, you'll obviously have to do it from a page on nirvana.userland.com before they can use discuss.userland.com.




This page was archived on 6/13/2001; 4:45:53 PM.

© Copyright 1998-2001 UserLand Software, Inc.