Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-07 Thread Jason Wong
On Saturday 07 June 2003 17:12, Bix wrote: > The best way to avoid SID "Hijacks" is to assign an IP variable, and an > expiration Never rely on an IP address to be unique to a particular browser/user. For reasons why search archives. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-07 Thread Philip Olson
On Sat, 7 Jun 2003, Bix wrote: > Monty, > > The best way to avoid SID "Hijacks" is to assign an IP variable, and an > expiration > > session_register("USERIP"); > $_SESSION['USERIP'] = $_SERVER['REMOTE_ADDR']; > session_register("EXPIRES"); > $_SESSION['expires'] = time() + 900; // 900 secon

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-07 Thread Bix
Monty, The best way to avoid SID "Hijacks" is to assign an IP variable, and an expiration session_register("USERIP"); $_SESSION['USERIP'] = $_SERVER['REMOTE_ADDR']; session_register("EXPIRES"); $_SESSION['expires'] = time() + 900; // 900 seconds (15 mins) and then the session has the users I

RE: [PHP] Gracefully dealing with Cookies OFF

2003-06-06 Thread John W. Holmes
> > both the cookie and URL based session passed over without SSL is > insecure. > > i'd love to know who told you otherwise. > > I can't remember the exact sites now, but, the issue was about how much > easier it is to spoof Sessions when IDs are passed via the URL as opposed > to > being stored

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-06 Thread Leif K-Brooks
I don't have a study in front of me, but I'm fairly sure that cookies are much more likely to be enabled than javascript. I reccomend opening a normal popup using a link with a target, and opening a sized popup and returning false with javascript in an onclick property. Something like: Open po

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-06 Thread Monty
> both the cookie and URL based session passed over without SSL is insecure. > i'd love to know who told you otherwise. I can't remember the exact sites now, but, the issue was about how much easier it is to spoof Sessions when IDs are passed via the URL as opposed to being stored in a cookie. >

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-05 Thread Justin French
on 05/06/03 8:05 AM, Monty ([EMAIL PROTECTED]) wrote: > Hi Justin, > > I hear what you're saying about refusing people without cookies turned off, > and I really tried to make it work on my site, but, keep running into lots > of problems. I do have enable-trans-sid turned on, but, get inconsisten

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-05 Thread Monty
IL PROTECTED]> > Subject: Re: [PHP] Gracefully dealing with Cookies OFF > > Why on earth would you refuse users without cookies?? Take a look at all > the major websites (amazon & msn for starters). > > Do they require cookies? No. > Do they require JavaScript? No

RE: [PHP] Gracefully dealing with Cookies OFF

2003-06-05 Thread Carl Furst
ECTED] Subject: [PHP] Gracefully dealing with Cookies OFF I've decided to require that members for a site need to have cookies enabled in their browsers to sign-up and use the site. Is there a graceful way to deal with this when users who have cookies off try to sign-up or log-in to the sit

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-04 Thread John Huggins
On Wed, 04 Jun 2003 03:08:00 -0400, Monty wrote: >I've decided to require that members for a site need to have cookies enabled >in their browsers to sign-up and use the site. Is there a graceful way to >deal with this when users who have cookies off try to sign-up or log-in to >the site? You can

Re: [PHP] Gracefully dealing with Cookies OFF

2003-06-04 Thread Justin French
Why on earth would you refuse users without cookies?? Take a look at all the major websites (amazon & msn for starters). Do they require cookies? No. Do they require JavaScript? No. Do they require anything else special on the site? No. They take advantage of technology where available (DHTML

[PHP] Gracefully dealing with Cookies OFF

2003-06-04 Thread Monty
I've decided to require that members for a site need to have cookies enabled in their browsers to sign-up and use the site. Is there a graceful way to deal with this when users who have cookies off try to sign-up or log-in to the site? Thanks, Monty -- PHP General Mailing List (http://www.php