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! > Sarah Hi Sarah, In certain older versions, WebDNA had a preference that you could set to allow processing of Server Side Includes either before or after parsing WebDNA. I used 'SERVER_PORT' to find port '443' to do things based off of that variable. It was very handy!.. but that doesn't help you now. :-/ Now, you have to get a little creative. If you are using a unique host.. 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 of finding this, so we *will* make one! :-) This has been a great reminder that WebDNA needs to be able to call this environment variable... [Server_Port]. I've needed it in the past, and I know others have as well. Consider it to be on the list of future features. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Http or Https (Stuart Tremain 2009)
  2. Re: [WebDNA] Http or Https (Donovan Brooke 2009)
  3. [WebDNA] Http or Https ("Sarah Nussbaum" 2009)
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! > Sarah Hi Sarah, In certain older versions, WebDNA had a preference that you could set to allow processing of Server Side Includes either before or after parsing WebDNA. I used 'SERVER_PORT' to find port '443' to do things based off of that variable. It was very handy!.. but that doesn't help you now. :-/ Now, you have to get a little creative. If you are using a unique host.. 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 of finding this, so we *will* make one! :-) This has been a great reminder that WebDNA needs to be able to call this environment variable... [Server_Port]. I've needed it in the past, and I know others have as well. Consider it to be on the list of future features. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, 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)