Weird internet site problem

I have a weird site document / domain problem. I have 2 domains registered as site documents, www.mysite1.no and www.mysite1.com. Works as a sharm. In a database, db.nsf, I have documents with links, that use relative url’s, like:

mylink

Now, this is what bugs me. I open www.mysite1.no and mouseover my links. Everything looks normal, like:

http://www.mysite1.no/db.nsf/view/doc

So what’s the problem? Well, if I change to the other site, www.mysite1.com, and mouse over the links, I see the exact same link!:

http://www.mysite1.no/db.nsf/view/doc

Shouldn’t this now be:

http://www.mysite1.COM/db.nsf/view/doc

??

This problems grows as you add sessionbased authentication and your session is only valid on the server you logon to…

Please help.

Regards,

Rune Carlsen

http://www.dominozone.net

Subject: SOLVED Weird internet site problem

Don’t use base href with hardcoded servernames :wink: Refer to Server_Name cgi variable…

Rune

blush