Is [thisurl] http or https?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19994
interpreted = N
texte = I cannot think of any direct method of determining whether or not the url used to request a page is an http or https url:[thisurl] won't help - it only displays a relative path from the root folder.[issecureclient] won't help - it just detects the SSL capablility of the browser.[listmimeheader] is the closest thing I've found so far that *might* be able to help, here's what it displays:1,Referer,http://204.210.118.206/ClientSites/LeisurePro/vieworder.tpl 2,Connection,Keep-Alive 3,User-Agent,Mozilla/4.04 (Macintosh; I; 68K, Nav) 4,Pragma,no-cache 5,Host,204.210.118.206 6,Accept,image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* 7,Accept-Language,en 8,Accept-Charset,iso-8859-1,*,utf-8 9,Authorization,Basic Z3JvbWVvOnNhcGllbm1vdXNlThe Referer header doesn't help because it doesn't indicate the URL that is requesting the page, instead it gives the URL of the LAST page loaded. None of the other headers looks useful, except maybe the last one ...#9,Authorization,Basic1- Does anyone know if the value of Authorization is ALWAYS 'Basic' when the URL is http?2- What's the value of Authorization when the URL is https instead of http?3- Would this Authorization value change from browser to browser, or would it be the same in all browsers?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Is [thisurl] http or https? (Sandra L. Pitner 1998)
  2. Re: Is [thisurl] http or https? (Kenneth Grome 1998)
  3. Re: Is [thisurl] http or https? (Charles Kefauver 1998)
  4. Re: Is [thisurl] http or https? (Brian B. Burton 1998)
  5. Re: Is [thisurl] http or https? (Kenneth Grome 1998)
  6. Re: Is [thisurl] http or https? (PCS Technical Support 1998)
  7. Is [thisurl] http or https? (Kenneth Grome 1998)
I cannot think of any direct method of determining whether or not the url used to request a page is an http or https url:[thisurl] won't help - it only displays a relative path from the root folder.[issecureclient] won't help - it just detects the SSL capablility of the browser.[listmimeheader] is the closest thing I've found so far that *might* be able to help, here's what it displays:1,Referer,http://204.210.118.206/ClientSites/LeisurePro/vieworder.tpl 2,Connection,Keep-Alive 3,User-Agent,Mozilla/4.04 (Macintosh; I; 68K, Nav) 4,Pragma,no-cache 5,Host,204.210.118.206 6,Accept,image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* 7,Accept-Language,en 8,Accept-Charset,iso-8859-1,*,utf-8 9,Authorization,Basic Z3JvbWVvOnNhcGllbm1vdXNlThe Referer header doesn't help because it doesn't indicate the URL that is requesting the page, instead it gives the URL of the LAST page loaded. None of the other headers looks useful, except maybe the last one ...#9,Authorization,Basic1- Does anyone know if the value of Authorization is ALWAYS 'Basic' when the URL is http?2- What's the value of Authorization when the URL is https instead of http?3- Would this Authorization value change from browser to browser, or would it be the same in all browsers?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Mac Vs WindowsNT (1997) webmerch and serials - almost there (1997) Problem with broken images (2004) WebCommerce: Folder organization ? (1997) Searching an Email database (1997) (1998) Is the Finder required? (1998) Can't save email prefs (2003) A Global Variable (1997) Emailer setup (1997) Roundup function? (1997) Navigator 4.01 (1997) Problem (1997) California Tax Rates (1998) request for comment tag (1998) RE: HTTP Header info (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) textarea inputs and returns (1999) Country & Ship-to address & other fields ? (1997)