BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

detect ssl connection in isapi

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Mike Terry
Guest





PostPosted: Tue Dec 16, 2003 5:15 pm    Post subject: detect ssl connection in isapi Reply with 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
Danny Heijl
Guest





PostPosted: Wed Dec 17, 2003 10:42 pm    Post subject: Re: detect ssl connection in isapi Reply with 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...
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





PostPosted: Thu Dec 18, 2003 7:56 am    Post subject: Re: detect ssl connection in isapi Reply with quote




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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.