Re: [WebDNA] Does [referrer] get lost when server switches from http

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115057
interpreted = N
texte = 2686 --Apple-Mail=_29D728FE-C762-4893-916D-E7A60E83FC88 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hi Ken Are you using .htaccess to redirect to https ? I use this to force https and all is good with the referee: ## Force SSL RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 2 Mar 2020, at 01:47, talk@webdna.us wrote: > > I haven't needed or used the [referrer] tag in ages, but > now that I have a use for it I'm not getting the results I > expect. Here's everything the docs say about it: > >> Putting [referrer] in your template displays the URL of the >> referring page that led to this one. This is a handy way to >> give visitors a "back up" button. >> >> Note: this will not work if the previous page was a FORM >> METHOD="POST" > > This "method=post" limitation is not the cause of my problem. > In my situation "method=get" is being used via simple links > that look like this: > > http://www.domain.com/thePage.dna?code=123&utm_campaign=someValue > > Note that this link example is "http" not "https". > > I have my server configured to serve everything via "https" > which means it is force-switching all these "http" visits to > "https", and this makes me wonder ... > > Does this forced-switching to "https" cause WebDNA to lose > its [referrer] value? > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Urgent/Emergency Phone: (228) 222-2917 > Website, Database, Network, and Communication Systems > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us > archives: http://www.webdna.us/page.dna?numero=55 > Bug Reporting: support@webdna.us --Apple-Mail=_29D728FE-C762-4893-916D-E7A60E83FC88 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Ken

Are you using = ..htaccess to redirect to https ?

I use this to force https and all is = good with the referee:

## Force SSL
RewriteCond = %{HTTPS} !=3Don
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=3D301]


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 2 Mar 2020, at 01:47, talk@webdna.us wrote:

I = haven't needed or used the [referrer] tag in ages, but
now = that I have a use for it I'm not getting the results I
expect. Here's everything the docs say about it:

Putting = [referrer] in your template displays the URL of the
referring page that led to this one. This is a handy way = to
give visitors a "back up" button.

Note: this will not work if the previous page was a FORM
METHOD=3D"POST"

This = "method=3Dpost" limitation is not the cause of my problem.
In my situation "method=3Dget" is being used via simple = links
that look like this:

http://www.domain.com/thePage.dna?code=3D123&utm_campaign=3D= someValue

Note that this link example = is "http" not "https".

I have my server = configured to serve everything via "https"
which means it = is force-switching all these "http" visits to
"https", and = this makes me wonder ...

Does this = forced-switching to "https" cause WebDNA to lose
its = [referrer] value?

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Urgent/Emergency = Phone: (228) 222-2917
Website, Database, Network, and = Communication Systems



---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, = E-mail to: talk-leave@webdna.us
archives: = http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: = support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_29D728FE-C762-4893-916D-E7A60E83FC88-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Does [referrer] get lost when server switches from http (WebDNA Solutions - Kenneth Grome 2020)
  2. Re: [WebDNA] Does [referrer] get lost when server switches from http (Michael Davis 2020)
  3. Re: [WebDNA] Does [referrer] get lost when server switches from http (Stuart Tremain 2020)
  4. [WebDNA] Does [referrer] get lost when server switches from http to https? (WebDNA Solutions 2020)
2686 --Apple-Mail=_29D728FE-C762-4893-916D-E7A60E83FC88 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hi Ken Are you using .htaccess to redirect to https ? I use this to force https and all is good with the referee: ## Force SSL RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 2 Mar 2020, at 01:47, talk@webdna.us wrote: > > I haven't needed or used the [referrer] tag in ages, but > now that I have a use for it I'm not getting the results I > expect. Here's everything the docs say about it: > >> Putting [referrer] in your template displays the URL of the >> referring page that led to this one. This is a handy way to >> give visitors a "back up" button. >> >> Note: this will not work if the previous page was a FORM >> METHOD="POST" > > This "method=post" limitation is not the cause of my problem. > In my situation "method=get" is being used via simple links > that look like this: > > http://www.domain.com/thePage.dna?code=123&utm_campaign=someValue > > Note that this link example is "http" not "https". > > I have my server configured to serve everything via "https" > which means it is force-switching all these "http" visits to > "https", and this makes me wonder ... > > Does this forced-switching to "https" cause WebDNA to lose > its [referrer] value? > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Urgent/Emergency Phone: (228) 222-2917 > Website, Database, Network, and Communication Systems > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us > archives: http://www.webdna.us/page.dna?numero=55 > Bug Reporting: support@webdna.us --Apple-Mail=_29D728FE-C762-4893-916D-E7A60E83FC88 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Ken

Are you using = ..htaccess to redirect to https ?

I use this to force https and all is = good with the referee:

## Force SSL
RewriteCond = %{HTTPS} !=3Don
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=3D301]


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 2 Mar 2020, at 01:47, talk@webdna.us wrote:

I = haven't needed or used the [referrer] tag in ages, but
now = that I have a use for it I'm not getting the results I
expect. Here's everything the docs say about it:

Putting = [referrer] in your template displays the URL of the
referring page that led to this one. This is a handy way = to
give visitors a "back up" button.

Note: this will not work if the previous page was a FORM
METHOD=3D"POST"

This = "method=3Dpost" limitation is not the cause of my problem.
In my situation "method=3Dget" is being used via simple = links
that look like this:

http://www.domain.com/thePage.dna?code=3D123&utm_campaign=3D= someValue

Note that this link example = is "http" not "https".

I have my server = configured to serve everything via "https"
which means it = is force-switching all these "http" visits to
"https", and = this makes me wonder ...

Does this = forced-switching to "https" cause WebDNA to lose
its = [referrer] value?

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Urgent/Emergency = Phone: (228) 222-2917
Website, Database, Network, and = Communication Systems



---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, = E-mail to: talk-leave@webdna.us
archives: = http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: = support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_29D728FE-C762-4893-916D-E7A60E83FC88-- . Stuart Tremain

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:

WC2f3 (1997) ImageMagick (2005) [index] (1997) Strange non-display problem (2002) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) New public beta available (1997) credit card authorization question (1997) printing twice? and fix (1997) WebCat2: Master Counter snippet (1997) Running _every_ page through WebCat ? (1997) shrink-wrapped version out yet? (1997) Mauthonly followed by mauthcapture (2002) Textmate bundle for WebDNA (2008) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Nesting format tags (1997) Use of Back and Reload Buttons on ShoppingCart page? (1997) Hiding HTML and breaking the page (1997) Can webcat 3.0/4.0 handle 1,000,000 hits a day? (2000) Searching/sorting dates (1997) HELP WITH DATES (1997)