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

Tricky problem!

Author:Dave Winer
Posted:11/23/1998; 3:39:31 PM
Topic:First message
Msg #:415 (In response to 403)
Prev/Next:414 / 416

OK, I started working on a command bar that would apply to all pages on our server where membership is an important discriminator, where you get features based on membership. I started with the discussion group:

http://nirvana.userland.com/tickets/discuss/

I had it working, when you're logged on, the single command in the menu would say Log Off, and if you're not logged on, the single command would say Log On. It was just the start. I was feeling good.

Then Brent told me that the assignment of discuss.userland.com had come thru. Great! I said, I'll wire that up right now.

http://discuss.userland.com/

Then I went back to work on my command bar, and it wouldn't work! I'd log off, then log on again, but it wouldn't stick. I groaned! Oh I hate working with cookies when they don't work. So I put dialog.alert calls in. All indications are that the cookie is getting back to me. I went into the debugger. It looks fine, the cookie code is working as it should.

So I went for a walk, and figured it out. I'm not getting the cookie back. The browser thinks that discuss.userland.com is different from nirvana.userland.com. It's doing the right thing. I wish I could somehow tell it to relax, and to send me the cookie anyway.

So now I'm trying to think of ways I can get that cookie to come to me and have the URL stay pretty and simple as discuss.userland.com. I'd hate to have to choose between cookies and simple URLs.

The best idea I've been able to come up with is to do what the banner ads guys do, put a graphic at the top of the page that does the cookie management, and have that graphic reside on nirvana.userland.com. But I bet that would be a bitch to implement.

What would be better is if there was some way to tell the browser to return the cookie for a list of domains. But I'm pretty sure that feature doesn't exist.

What to do?

Dave


There are responses to this message:


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

© Copyright 1998-2001 UserLand Software, Inc.