in reply to •Re: $ENV{HTTP_REFERER} Problem on a Windows Client
in thread $ENV{HTTP_REFERER} Problem on a Windows Client

You are right. I used the referer in a "crude" way to determine if my session id is directly called or passed from a script. I was avoiding the possibility of session hijacking or replaying where one simply replay a session_id from the browser history and there he goes... doing stuffs he's not supposed to do.

Though my session id's are set to expire after "n" minutes, is there another sanity check besides using a "trivial" referrer?

  • Comment on Re: •Re: $ENV{HTTP_REFERER} Problem on a Windows Client

Replies are listed 'Best First'.
•Re: Re: •Re: $ENV{HTTP_REFERER} Problem on a Windows Client
by merlyn (Sage) on May 24, 2004 at 12:15 UTC
      Thanks! It's an excellent article.