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 useSSI as WebDNA doesn't have SERVER_PORT. In the old versions of webcatalogI 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, 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 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:
Hi 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 of webcatalogI 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, 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 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:
Bug Report, maybe (1997)
text size limitation (1997)
searchable list archive (1997)
Overridding E-Mailer (1998)
HTML editing and webcatalog (2000)
Limitations on fields? Server is crashing (1997)
OT: someone to take over some small customers (2001)
Errata: WCS Newbie question (1997)
database files in secure folder (1997)
RE: Displaying Location (1997)
Webcatalog on MacOs (2000)
[/application] error? (1997)
RE: [taxRate] [TaxTotal] ? (1997)
WebCat2 - many [carts] on one template page? (1997)
VeriSign News (2002)
[WebDNA] Check for Ending Carriage Return (2009)
Content search & results (2008)
Text data with spaces in them... (1997)
emailer (1997)
PCS Emailer's role ? (1997)