Re: [WebDNA] Http or Https
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102355
interpreted = N
texte = Sarah Nussbaum wrote:> Hi,> > I need to know if my post request is coming through over a secure connection> or not. Is there anyway through Webdna to do this? So far, its not looking> good..> > Thanks!> SarahHi Sarah,In certain older versions, WebDNA had a preference that you couldset to allow processing of Server Side Includes either beforeor after parsing WebDNA. I used 'SERVER_PORT' to find port '443'to do things based off of that variable. It was very handy!.. butthat doesn't help you now. :-/Now, you have to get a little creative. If you are using a uniquehost.. such as "https://secure.yoursite.com".. you can use:[text]TheHost=[listmimeheaders name=host][value][/listmimeheaders][/text][showif [theHost]^secure] do something.[/showif]There is also perhaps some tricks on your platform/webserver.What are your specs there?I don't know of many other WebDNA specific ways offinding this, so we *will* make one! :-)This has been a great reminder that WebDNA needs to be ableto call this environment variable... [Server_Port]. I've neededit in the past, and I know others have as well. Considerit to be on the list of future features.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
Sarah Nussbaum wrote:> Hi,> > I need to know if my post request is coming through over a secure connection> or not. Is there anyway through Webdna to do this? So far, its not looking> good..> > Thanks!> SarahHi Sarah,In certain older versions, WebDNA had a preference that you couldset to allow processing of Server Side Includes either beforeor after parsing WebDNA. I used 'SERVER_PORT' to find port '443'to do things based off of that variable. It was very handy!.. butthat doesn't help you now. :-/Now, you have to get a little creative. If you are using a uniquehost.. such as "https://secure.yoursite.com".. you can use:
[text]TheHost=[listmimeheaders name=host][value][/listmimeheaders][/text][showif [theHost]^secure] do something.[/showif]There is also perhaps some tricks on your platform/webserver.What are your specs there?I don't know of many other WebDNA specific ways offinding this, so we *will* make one! :-)This has been a great reminder that WebDNA needs to be ableto call this environment variable... [Server_Port]. I've neededit in the past, and I know others have as well. Considerit to be on the list of future features.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
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? (1997)
Weird problems with [SHOWIF]s (1997)
WebCatalog can't find database (1997)
page redirect in webDNA (1997)
[format] problem (2001)
Webcatalog error, Plug-in for Webstar (1996)
Paths (2000)
HTML encoding in URLs (1997)
Shared conversion under WebTen (1998)
[WebDNA] Spawn operation stalling - any idea what might cause (2013)
A Sensible Suggestion. Was: Major problem (1999)
Nested vs conditional (1997)
Multiple prices (1997)
Reserved words - Enhancement request (2000)
[WebDNA] My SQL will not Connect (2020)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
setting cookies with [setcookie] (1998)
includes and cart numbers (1997)
[WebDNA] html email.. should be a no-brainer.. but it is not parsing. (?) (2010)
More on the email templates (I like it) (1997)