Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread PaulCheung
Hi Chris , I genuinely believe that I have a misunderstanding of what the HTTP_REFERER is all about. I was trying to grab the address just before the user entered "my" application. In my INDEX.PHP, I used an extra script named LOGIN.PHP, where the HTTP_REFERER was captured. Then in turn LO

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Kristina Anderson
Hi Paul, As someone pointed out earlier this week, unless your app is set up so that the only entry point to it is a link from another URL, in most cases your user's entry point into your app would be typing the address directly, in which case there would not be an HTTP_REFERRER. > Hi Chris ,

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Kristina Anderson
Full text of what I was trying to post, below: Hi Paul, As someone pointed out earlier this week, unless your app is set up so that the only entry point to it is a link from another URL, in most cases your user's entry point into your app would be typing the address directly, in which case the

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread charlie derr
Kristina Anderson wrote: Full text of what I was trying to post, below: Hi Paul, As someone pointed out earlier this week, unless your app is set up so that the only entry point to it is a link from another URL, in most cases your user's entry point into your app would be typing the address

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Kristina Anderson
Charlie -- I do agree 100% that it's best from a design standpoint to just log them out and then let them choose the next action. However, the original question from Paul was how to programmatically get them to another URL (or at best out of his URL) after using the app...so that is what I add

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread bzcoder
PaulCheung wrote: I am guessing the way around my problem is to forget the use of HTTP_REFERER and just put the user back to the login page and let the user press the back button to let themselves out, or is there a more elegant way to do what I want?? Capture the HTTP REFERER when they en

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Daniel Convissor
Hi Paul: You misunderstand what http referer does. In addition, be careful of what some other folks have posted in this thread, they're misunderstanding your situation, so may confuse you further. Here are several key points: * it is set by the browser * it gets sent in the HTTP headers when

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Steve Manes
Daniel Convissor wrote: You misunderstand what http referer does. In addition, be careful of what some other folks have posted in this thread, they're misunderstanding your situation, so may confuse you further. Here are several key points: * it is set by the browser * it gets sent in the HT

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Patrick May
I'm curious -- what does your application do? On Wed, Jul 9, 2008 at 9:28 AM, PaulCheung <[EMAIL PROTECTED]> wrote: > Could somebody point me in the right direction or make any suggestion?? > > On Exiting the "my" application, I want to return the user back to the > original "jump-off point" just

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread csnyder
On Fri, Jul 11, 2008 at 11:03 AM, Steve Manes <[EMAIL PROTECTED]> wrote: > Daniel's #1 is an important point and one reason why I avoid relying on > HTTP_REFERER at almost all costs. Because the browser sends this it means > it can be spoofed. Worst case, it's like allowing a potentially tainted

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread bzcoder
csnyder wrote: Granted, there are all kinds of reasons not to provide back links. Users aren't really expecting them, the referer is not always going to be there, and it potentially leaves your site open to Google abuse, because suddenly your site has links back to anybody else's website. All