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 = 115068
interpreted = N
texte = 2697 --00000000000075523705a13a5ba0 Content-Type: text/plain; charset="UTF-8" Hi Stuart, Your reply from March 1st was in my SPAM box so I never saw it until now. I disable htaccess on my server so I might try your code in my main Apache config file.Thanks! :) On Sun, Mar 1, 2020 at 5:17 PM wrote: > 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 > > > --------------------------------------------------------- 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 --00000000000075523705a13a5ba0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Stuart,

= Your reply from March 1st was in my SPAM box so I never saw it until now. I= disable htaccess on my server so I might try your code in my main Apache c= onfig file.Thanks! :)

On Sun, Mar 1, 2020 at 5:17 PM <talk@webdna.us> wrote:
Hi Ken

Are you using .htaccess to redirect to ht= tps ?

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

## Force SSL
Rewrit= eCond %{HTTPS} !=3Don
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_U= RI} [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, butnow 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 "met= hod=3Dpost" limitation is not the cause of my problem.
In my situat= ion "method=3Dget" is being used via simple links
that look li= ke this:

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

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

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

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

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



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

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@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 --00000000000075523705a13a5ba0-- . 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)
2697 --00000000000075523705a13a5ba0 Content-Type: text/plain; charset="UTF-8" Hi Stuart, Your reply from March 1st was in my SPAM box so I never saw it until now. I disable htaccess on my server so I might try your code in my main Apache config file.Thanks! :) On Sun, Mar 1, 2020 at 5:17 PM wrote: > 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 > > > --------------------------------------------------------- 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 --00000000000075523705a13a5ba0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Stuart,

= Your reply from March 1st was in my SPAM box so I never saw it until now. I= disable htaccess on my server so I might try your code in my main Apache c= onfig file.Thanks! :)

On Sun, Mar 1, 2020 at 5:17 PM <talk@webdna.us> wrote:
Hi Ken

Are you using .htaccess to redirect to ht= tps ?

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

## Force SSL
Rewrit= eCond %{HTTPS} !=3Don
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_U= RI} [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, butnow 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 "met= hod=3Dpost" limitation is not the cause of my problem.
In my situat= ion "method=3Dget" is being used via simple links
that look li= ke this:

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

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

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

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

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



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

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@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 --00000000000075523705a13a5ba0-- . WebDNA Solutions - 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:

Find Duplicates in Cart (2001) [WebDNA] [OT] - One Man. One Road. (2009) DB approach question (2000) wierd [cart] action! (1997) Webstar V and Webcatalog (2001) WebCat chatroom/hyperboard (1997) I'm tired of all this! (2000) Referrer from multiple entry points (1998) Phonetic Search (2001) Rhapsody? (1997) date tag not interpreted (2000) Help! WebCat2 bug (1997) (no subject) (1997) Proposed FormVariables hierarchy (2000) WebCatalog NT (1996) Part 2 - [showif] if variable exists (1998) WebCat2b12plugin - [search] is broken ... not! (1997) Authorize.net questions ... (2003) ErrorMessages.db suggestion (1997) Search with Special Chars (1997)