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:

[BULK] [WebDNA] Version 7 Config problem (2011) Unique SKU Numbers (2000) [WebDNA] group searching not working as expected. (2010) Browser Caching (2003) Multi-processor Mac info ... (1997) Postprocessing CCs (2000) Quitting WebMerchant ? (1997) [shownext max (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) FAX orders (1996) matching shipto and others (1998) wrong input values? (1997) Locking up with WebCatalog... (1997) WebCatalog 3.0.4 alias crash bug? (2000) Associative lookup style? + bit more (1997) WCS Newbie question (1997) Missing something simple?? (1998) Type 11 errors setting up WebCAt 2 (1997) Secure Server (1997) WebCat2: multiple currency support (1997)