Is there a HTTP environment variable I can use to work this out?
A:
Hi Mr Foo Foo,
What are you using at server side. If you are using java servlet then you can get URL information as follow:
String scheme = request.getScheme(); String serverName = request.getServerName(); int portNumber = request.getServerPort();
Jprogyog
2010-07-28 10:12:58
I looked deeper into the Request object in my environment and there is a secure flag set on the Request object - thanks.
Mr Foo Foo
2010-07-28 10:24:22