 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mike Terry Guest
|
Posted: Tue Dec 16, 2003 5:15 pm Post subject: detect ssl connection in isapi |
|
|
Hello all,
I've googled this question (with no luck), so I appologize if it's been
asked and answered a thousand times. (g)
I'm writing a WebBroker app which has two actions that must be accessed thru
https. Is the way to do this to simply examine the url in the request or is
there a more reliable way to ensure certain pages use https and the rest use
http?
Thanks
Mike
these two
isapi app which has two pages
|
|
| Back to top |
|
 |
Danny Heijl Guest
|
Posted: Wed Dec 17, 2003 10:42 pm Post subject: Re: detect ssl connection in isapi |
|
|
If using IIS 5.1 you have the IIS Server Variable "HTTPS", and several
others (server-certificate or HTTPS related) in older IIS versions.
Danny
---
"Mike Terry" <lists (AT) mikeatwork (DOT) com> schreef in bericht
news:3fdf2fd0$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Hello all,
I've googled this question (with no luck), so I appologize if it's been
asked and answered a thousand times. (g)
I'm writing a WebBroker app which has two actions that must be accessed
thru
https. Is the way to do this to simply examine the url in the request or
is
there a more reliable way to ensure certain pages use https and the rest
use
http?
Thanks
Mike
these two
isapi app which has two pages
|
|
|
| Back to top |
|
 |
Mike Terry Guest
|
Posted: Thu Dec 18, 2003 7:56 am Post subject: Re: detect ssl connection in isapi |
|
|
Dan,
Right now I'm not using IIS, but the plan is to move to it in Q2. I'll keep
this in mind. I think I'm going to stick with examining the port and if 443
then assume it's ssl. After all, it will be if the server hasn't been
completely compromised.
Thanks
Mike
"Danny Heijl" <danny.heijl_ (AT) _pandora (DOT) be> wrote
| Quote: | If using IIS 5.1 you have the IIS Server Variable "HTTPS", and several
others (server-certificate or HTTPS related) in older IIS versions.
Danny
---
"Mike Terry" <lists (AT) mikeatwork (DOT) com> schreef in bericht
news:3fdf2fd0$1 (AT) newsgroups (DOT) borland.com...
Hello all,
I've googled this question (with no luck), so I appologize if it's been
asked and answered a thousand times. (g)
I'm writing a WebBroker app which has two actions that must be accessed
thru
https. Is the way to do this to simply examine the url in the request
or
is
there a more reliable way to ensure certain pages use https and the rest
use
http?
Thanks
Mike
these two
isapi app which has two pages
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|