Re: [PHP] manual vs. meta refresh

2007-08-13 Thread Richard Lynch
On Sat, August 11, 2007 9:39 pm, Robert Cummings wrote: On Sat, 2007-08-11 at 19:36 -0700, Geoff Nicol wrote: Rob, What you suggested, which matches the theory of what I and others suggested, would certainly work as an ID that changes is involved. If you read the specific posting by Richard

Re: [PHP] manual vs. meta refresh

2007-08-13 Thread Kevin Murphy
On Aug 13, 2007, at 2:16 PM, Richard Lynch wrote: Of course, the question of whether it's a Good Idea to show something different for a manual Refresh versus META refresh springs to mind... I can't see why you'd want to do this for anything other than educational purposes... Well, as the

Re: [PHP] manual vs. meta refresh

2007-08-12 Thread Tijnema
On 8/12/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-08-11 at 22:11 -0500, Richard Lynch wrote: You don't do it there. You do whatever it is you have to do in the URL before you re-direct. Though I guess if you want different output on that page, you would need to set

Re: [PHP] manual vs. meta refresh

2007-08-12 Thread Robert Cummings
On Sun, 2007-08-12 at 13:47 +0200, Tijnema wrote: On 8/12/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-08-11 at 22:11 -0500, Richard Lynch wrote: You don't do it there. You do whatever it is you have to do in the URL before you re-direct. Though I guess if you want

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread tedd
At 2:10 AM +0200 8/11/07, Tijnema wrote: On 8/11/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Richard Lynch
On Fri, August 10, 2007 6:51 pm, Geoff Nicol wrote: That was my first thought as well but you will still have to use a session variable or cookie for the page following redirect to know it was a meta-refresh. No. For the page following, you can use some other GET parameter, such as

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Geoff Nicol
And if they do a manual refresh on the page you re-directed to, the was_meta_refresh_before flag will be set. How will you tell it from a meta-refresh redirect? You need to use a cookie or session id. Regardless, by reading the whole thread and 'cheating off the other students' this has been

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Robert Cummings
On Sat, 2007-08-11 at 18:26 -0700, Geoff Nicol wrote: And if they do a manual refresh on the page you re-directed to, the was_meta_refresh_before flag will be set. How will you tell it from a meta-refresh redirect? I already explained this in previous email. Go read the history of this thread.

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Geoff Nicol
Rob, What you suggested, which matches the theory of what I and others suggested, would certainly work as an ID that changes is involved. If you read the specific posting by Richard Lynch, which is what I was replying to, you will note he suggest refreshing to a static 'was_meta_refresh_before'

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Robert Cummings
On Sat, 2007-08-11 at 19:36 -0700, Geoff Nicol wrote: Rob, What you suggested, which matches the theory of what I and others suggested, would certainly work as an ID that changes is involved. If you read the specific posting by Richard Lynch, which is what I was replying to, you will note

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Richard Lynch
You don't do it there. You do whatever it is you have to do in the URL before you re-direct. Though I guess if you want different output on that page, you would need to set something somewhere, be it session, database, or a cookie. On Sat, August 11, 2007 8:25 pm, Geoff Nicol wrote: And if

Re: [PHP] manual vs. meta refresh

2007-08-11 Thread Robert Cummings
On Sat, 2007-08-11 at 22:11 -0500, Richard Lynch wrote: You don't do it there. You do whatever it is you have to do in the URL before you re-direct. Though I guess if you want different output on that page, you would need to set something somewhere, be it session, database, or a cookie. I

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Tijnema
On 8/10/07, Kevin Murphy [EMAIL PROTECTED] wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? -- Kevin Murphy Normally not, unless you add an extra GET item to the META tag, for

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Richard Davey
Hi Kevin, Friday, August 10, 2007, 7:26:30 PM, you wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? You could dynamically generate the meta tag, so it refreshes to your page

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Tijnema
On 8/10/07, Stut [EMAIL PROTECTED] wrote: Kevin Murphy wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? Add a GET variable to the URL you put in the meta tag to tell you it

[PHP] manual vs. meta refresh

2007-08-10 Thread Kevin Murphy
I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada College www.wnc.edu 775-445-3326 P.S. Please note that my

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Stut
Kevin Murphy wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? Add a GET variable to the URL you put in the meta tag to tell you it came from the meta tag. P.S. Please note that

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Richard Lynch
On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? You could embed something in the META tag's URL such as: meta http-equiv=refresh

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Tijnema
On 8/11/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking the refresh button? You could embed something in

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Robert Cummings
On Sat, 2007-08-11 at 02:10 +0200, Tijnema wrote: On 8/11/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote: I doubt this, but is there any way to determine via PHP if a browser was refreshed automatically via a META tag vs the person clicking