---------------------- Jason Sibre: -------------- [Re: using HTTP_REFERER if HTTP_HOST is not available] > I think that would work fairly well, most of the time, but I'm not sure it's > the ideal solution because Referer will be TOTALLY bogus (for our purposes) > if the Referer was another site. In apps like we tend to write, thats > probably a very small precentage of the requests we get, but, oy! What a > headache troubleshooting would become! A very good point. I personally would be very glad to avoid that headache. Regarding the basic riddle of where to get reliable server and port identification for redirects if HTTP_HOST is not there, I would suggest grabbing them from suitable and appropriately named entries in the Quixote config rather than go through elaborate and probably unreliable contortions with environment info. Jim Dukarm DELTA-X RESEARCH Victoria BC Canada