Re: Re Running Locally
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38117
interpreted = N
texte = Rob Marquardt wrote:> > When setting the cookie, use:> > domain=[getMIMEheader name=Host]> You should be aware that WebTV, in it's infinite stupidity, returns theport number as part of the host name (since it is the browser that issetting this variable) when the user is connected via SSL. So: [getMIMEheader name=Host]prints as www.domain.xxx:143Use something like this [grep search=(www\.[a-zA-Z]*\.com)&replace=\1][GetMIMEHeaderHTTP_HOST][/grep]to get rid of the port number. You can even use this: [grep search=www\.([a-zA-Z]*\.com)&replace=\1][GetMIMEHeaderHTTP_HOST][/grep]if you want to just extract the current domain (obviously change .comif you are not using that gTLD). We use this in common include fileswhich are used by multiple sites.HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Rob Marquardt wrote:> > When setting the cookie, use:> > domain=[getMIMEheader name=Host]> You should be aware that WebTV, in it's infinite stupidity, returns theport number as part of the host name (since it is the browser that issetting this variable) when the user is connected via SSL. So: [getMIMEheader name=Host]prints as www.domain.xxx:143Use something like this [grep search=(www\.[a-zA-Z]*\.com)&replace=\1][GetMIMEHeaderHTTP_HOST][/grep]to get rid of the port number. You can even use this: [grep search=www\.([a-zA-Z]*\.com)&replace=\1][GetMIMEHeaderHTTP_HOST][/grep]if you want to just extract the current domain (obviously change .comif you are not using that gTLD). We use this in common include fileswhich are used by multiple sites.HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Opinion: [input] should be called [output] ... (1997)
Here we go again... was: DDEConnect not working (2006)
Bug? (1997)
protect tag on NT IIS (1997)
emailer w/F2 (1997)
Reversed words (1997)
syntax question, not in online refernce (1997)
Claris HomePage messes up the code (1997)
RE: Include (1998)
Robust WebDNA Job Manager / Accountant (2006)
RE: New WebCatalog Version !!! (1997)
Memory Error message (1998)
Download (1999)
WebCat virtual postcard is done! Thanks for the help! (1998)
Cart date/time (2006)
Redirect in 4.0 (2000)
tcpsend (2001)
Organisation website (2005)
[Shell] question (2000)
is there a [purchase]? (1998)