Re: Detecting SSL or port
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 60957
interpreted = N
texte = I do have a very bad solution based on javascript, but I don't wish touse it, because i wish to control it entirely serverside. Futhermorethere are some other solutions base on the software of the webserver buti can't really make these solutions work the way i like.An idea would be you call an ASP page that checks the port, but is itpossible to get the result from the asp-page into the Webdna - i can'treally see it happeing :-(Further more i played with the idea of calling the ASP script via theTCPConnect - but I cannot see this working either since you have tospecify with port to use :-((Yeah, well the problem is I really don't feel i have a 100% safesolution before Webcatalog (Webdna) is able to tell me if the connectionis safe (SSL) or just which port being used for the connection. Soinstead of the relative unusefull [IsSecureClient], it would be greatwith a very usefull [IsSecureServer] or just as good [ServerPort]Morten-----Original Message-----From: Donovan Brooke [mailto:dbrooke@euca.us]Sent: 7. februar 2005 17:25To: WebDNA TalkSubject: Re: Detecting SSL or portHi Morten, I used to do this by port as well.. But I had to useSSI as WebDNA doesn't have SERVER_PORT. In the old versions ofwebcatalogI was able to process SSI before or after webdna (my choosing).The newer versions don't seem so integrated with SSI.It seems there really are only two ways of checking against this..PORT or by the URL (looking for the "s" in HTTPS). There is no[serverport] context in webdna and [thisurl] does not show theprotocol..so... I dunno.. anyone else have a good webdna solution? If not, itseems we will have to run a separate CGI just for this lil task...(hint to SMSI ;-)DonovanMorten Madsen wrote:> Hi Talk List> > I have been going through the old mails on the talklist to find a> solution to detect whether a client is accessing af page via http og> https but i really cannot find any solution.> > I want to make sure that the customers have a secure connection during> checkout. In ASP it is very easy to get information about which portthe> client is using on the server(Request.ServerVariables("SERVER_PORT")),> PSEUDO: if the port = 80 redirect to HTTPS://rightside - if it is 443do> nothing.> > How do you guys make sure/force clients to use HTTPS for certainpages.> > > > Morten Dam Madsen-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I do have a very bad solution based on javascript, but I don't wish touse it, because i wish to control it entirely serverside. Futhermorethere are some other solutions base on the software of the webserver buti can't really make these solutions work the way i like.An idea would be you call an ASP page that checks the port, but is itpossible to get the result from the asp-page into the Webdna - i can'treally see it happeing :-(Further more i played with the idea of calling the ASP script via theTCPConnect - but I cannot see this working either since you have tospecify with port to use :-((Yeah, well the problem is I really don't feel i have a 100% safesolution before Webcatalog (Webdna) is able to tell me if the connectionis safe (SSL) or just which port being used for the connection. Soinstead of the relative unusefull [IsSecureClient], it would be greatwith a very usefull [IsSecureServer] or just as good [ServerPort]Morten-----Original Message-----From: Donovan Brooke [mailto:dbrooke@euca.us]Sent: 7. februar 2005 17:25To: WebDNA TalkSubject: Re: Detecting SSL or portHi Morten, I used to do this by port as well.. But I had to useSSI as WebDNA doesn't have SERVER_PORT. In the old versions ofwebcatalogI was able to process SSI before or after webdna (my choosing).The newer versions don't seem so integrated with SSI.It seems there really are only two ways of checking against this..PORT or by the URL (looking for the "s" in HTTPS). There is no[serverport] context in webdna and [thisurl] does not show theprotocol..so... I dunno.. anyone else have a good webdna solution? If not, itseems we will have to run a separate CGI just for this lil task...(hint to SMSI ;-)DonovanMorten Madsen wrote:> Hi Talk List> > I have been going through the old mails on the talklist to find a> solution to detect whether a client is accessing af page via http og> https but i really cannot find any solution.> > I want to make sure that the customers have a secure connection during> checkout. In ASP it is very easy to get information about which portthe> client is using on the server(Request.ServerVariables("SERVER_PORT")),> PSEUDO: if the port = 80 redirect to HTTPS://rightside - if it is 443do> nothing.> > How do you guys make sure/force clients to use HTTPS for certainpages.> > > > Morten Dam Madsen-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Morten Madsen"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Loss in form (1998)
Another question (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
Micro-managing External Links (2006)
I'm Sorry - OFF TOPIC (2000)
International Orders (1998)
sorting dates (1999)
Speed/performance issues using .hdr (1997)
RE: Upload (1998)
wc 2 pro users - sites, quotes wanted (1997)
Mac System Experience (1998)
& in grep (2003)
New Command prefs ... (1997)
Calculating multiple shipping... (1997)
carriage returns in data (1997)
Cookie still not working (1999)
Sending E-mail (1997)
webcatalog [date] bug (1999)
upgrading (1997)
[WebDNA] wordfile for UltraEdit? (2008)