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:

WebCat2.0 [format thousands .0f] no go (1997) Error 11 (1996) and more [shipcost].... (2001) RequiredFields template (1997) RE: Major Security Hole IIS NT (1998) Forms & Tables (1998) Re:listfiles-looking for slick solution (1997) Use of & in text areas.... (1998) [lookup] is case-sensitive, [lookup] is case sensitive... (2003) Writing [raw] to a file (2000) ShowNext (1997) View Source from cache (1997) Vanity counter side note (1998) [OT] Google Info (2004) Auto entering Friday's date in a field (2002) Mass Mail (2000) Emailer (1997) Stats (2004) re: emailer prob (1998) [isfile] ? (1997)