Re: Detecting SSL or port

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60955
interpreted = N
texte = Hi Morten, I used to do this by port as well.. But I had to use SSI as WebDNA doesn't have SERVER_PORT. In the old versions of webcatalog I 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 the protocol.. so... I dunno.. anyone else have a good webdna solution? If not, it seems we will have to run a separate CGI just for this lil task... (hint to SMSI ;-) Donovan Morten 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 port the > client is using on the server (Request.ServerVariables("SERVER_PORT")), > PSEUDO: if the port = 80 redirect to HTTPS://rightside - if it is 443 do > nothing. > > How do you guys make sure/force clients to use HTTPS for certain pages. > > > > 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 to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Detecting SSL or port ( "Morten Madsen" 2005)
  2. Re: Detecting SSL or port ( John Peacock 2005)
  3. Re: Detecting SSL or port ( Donovan Brooke 2005)
  4. Detecting SSL or port ( "Morten Madsen" 2005)
Hi Morten, I used to do this by port as well.. But I had to use SSI as WebDNA doesn't have SERVER_PORT. In the old versions of webcatalog I 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 the protocol.. so... I dunno.. anyone else have a good webdna solution? If not, it seems we will have to run a separate CGI just for this lil task... (hint to SMSI ;-) Donovan Morten 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 port the > client is using on the server (Request.ServerVariables("SERVER_PORT")), > PSEUDO: if the port = 80 redirect to HTTPS://rightside - if it is 443 do > nothing. > > How do you guys make sure/force clients to use HTTPS for certain pages. > > > > 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 to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

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:

Multiple Pulldowns/Gary (1997) search with funny characters (2003) Error Log.db --however (1997) Summary search -- speed (1997) Fwd: Problems with Webcatalog Plug-in (1997) Robots fill event log (1997) 4.5 to 5.0 question (2003) [WebDNA] strip [browsername] (2016) [BULK] [WebDNA] Can WebDNA corrupt a db? (2012) Roundup function? (1997) WebCatalog for guestbook ? (1997) WC2.0 Memory Requirements (1997) problems with 2 tags (1997) carriage returns in data (1997) Help: server change went wrong! (2006) WC in FL (1999) POSTing to a secure server ... (2000) WebTV problems with WebCatalog?? (1998) WebCat2 Append problem (B14Macacgi) (1997) RE: WebCatalog2 for NT Beta Request (1997)