I use the same code for a test website and production website.
Not sure of the final website I will be using for production but I'd like to know what the URL is through code.
The reason is that I will put the url link to the last Web Chat item input by the customer and e-mail to an engineer who can then use the link on another website to see that item. I can then substitute the website header part of the web address depending on whether its viewed from an internal web, external web or different web server from where the Web Chat was input.
I tried SESSION("BackURL") and SESSION("MyURL") but neither gave me anything in a Response.Write.
Using very latest 6.0 build.
Just want to e-mail the correct website reference between engineer and customer.
Regards,
Stu