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:

[WebDNA] Webserver does not respond occasionally (2018) auto adding SKUs w/DB helper (1998) in header include files? (1998) Follow-up to listfiles bug report ... (2003) save & character in db (2005) Mac Lockup Problems (1998) Nested tags count question (1997) RE: Nesting [ListFiles] (1998) UPDATE PROBLEM (1997) WebCatalog2 Feature Feedback (1996) Summing fields (1997) Sku numbers (1997) Using Applescript to process WebCatalog functions (1998) Carrying Forward (1998) 2 questions (2000) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [WebDNA] weekday question (2013) Frames and WebCat (1997) Slightly off-topic hits to purchase ratio? (1999) PCS Emailer's role ? (1997)