Re: [PHP] php, sessions and ie

2006-04-06 Thread Dallas Cahker
Thanks for the information

On 4/4/06, Chrome [EMAIL PROTECTED] wrote:

 I let GC and cookie expiration handle ending the session... The cookie was
 only set for 15 minutes

 Dan


 ---
 http://chrome.me.uk


 -Original Message-
 From: Dallas Cahker [mailto:[EMAIL PROTECTED]
 Sent: 04 April 2006 19:41
 To: php-general@lists.php.net
 Subject: Re: [PHP] php, sessions and ie

 How are you destroying the sessions if they leave the site (dont logout).
 do
 you check on activity or something else?

 On 4/4/06, Dan Parry [EMAIL PROTECTED] wrote:
 
  I have had some issues with sessions and IE in the past and used the
  following code to start the session
 
  ?php
  if (isset($SessID)){ session_id($SessID); }
  session_start();
  header(Cache-control: private); // IE 6 Fix.
  setcookie(SessID, session_id(), time() + 60 * 15);
  ?
 
  Now, though, I always use a DB to store sessions... Much nicer
 
  HTH
 
  Dan
 
  -
  Dan Parry
  Senior Developer
  Virtua Webtech Ltd
  http://www.virtuawebtech.co.uk
  -Original Message-
  From: Dallas Cahker [mailto:[EMAIL PROTECTED]
  Sent: 04 April 2006 16:19
  To: php-general@lists.php.net
  Subject: [PHP] php, sessions and ie
 
  I've been hearing some of my friends saying there is an issue with
 Session
  in PHP and IE having problems with them.  Is that true?  If it is how do
  people get around this?  Session information saved to db?  Session id in
  cookie?
 
 
  __ NOD32 1.1454 (20060321) Information __
 
  This message was checked by NOD32 antivirus system.
  http://www.eset.com
 
 
 




Re: [PHP] php, sessions and ie

2006-04-04 Thread Wolf
I used to use a database table which housed their information, and their
cookie housed their sessionID that the server assigned them when they
logged in.  Grabbing the sessionID only from the cookie (and their IP) I
was able to log most people in (even dynamic IPs don't change THAT
often).  For those whom were dealing with a changed IP, the system had
them verify just their password.  Wrong password dumped them back out
and asked for full login information.  no browser issues at the time.

Wolf

Dallas Cahker wrote:
 I've been hearing some of my friends saying there is an issue with Session
 in PHP and IE having problems with them.  Is that true?  If it is how do
 people get around this?  Session information saved to db?  Session id in
 cookie?
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php, sessions and ie

2006-04-04 Thread Dan Parry
I have had some issues with sessions and IE in the past and used the
following code to start the session

?php
if (isset($SessID)){ session_id($SessID); }
session_start();
header(Cache-control: private); // IE 6 Fix.
setcookie(SessID, session_id(), time() + 60 * 15);
?

Now, though, I always use a DB to store sessions... Much nicer

HTH

Dan

-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Dallas Cahker [mailto:[EMAIL PROTECTED] 
Sent: 04 April 2006 16:19
To: php-general@lists.php.net
Subject: [PHP] php, sessions and ie

I've been hearing some of my friends saying there is an issue with Session
in PHP and IE having problems with them.  Is that true?  If it is how do
people get around this?  Session information saved to db?  Session id in
cookie?


__ NOD32 1.1454 (20060321) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php, sessions and ie

2006-04-04 Thread Dallas Cahker
How are you destroying the sessions if they leave the site (dont logout). do
you check on activity or something else?

On 4/4/06, Dan Parry [EMAIL PROTECTED] wrote:

 I have had some issues with sessions and IE in the past and used the
 following code to start the session

 ?php
 if (isset($SessID)){ session_id($SessID); }
 session_start();
 header(Cache-control: private); // IE 6 Fix.
 setcookie(SessID, session_id(), time() + 60 * 15);
 ?

 Now, though, I always use a DB to store sessions... Much nicer

 HTH

 Dan

 -
 Dan Parry
 Senior Developer
 Virtua Webtech Ltd
 http://www.virtuawebtech.co.uk
 -Original Message-
 From: Dallas Cahker [mailto:[EMAIL PROTECTED]
 Sent: 04 April 2006 16:19
 To: php-general@lists.php.net
 Subject: [PHP] php, sessions and ie

 I've been hearing some of my friends saying there is an issue with Session
 in PHP and IE having problems with them.  Is that true?  If it is how do
 people get around this?  Session information saved to db?  Session id in
 cookie?


 __ NOD32 1.1454 (20060321) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com





RE: [PHP] php, sessions and ie

2006-04-04 Thread Chrome
I let GC and cookie expiration handle ending the session... The cookie was
only set for 15 minutes

Dan

 
---
http://chrome.me.uk
 

-Original Message-
From: Dallas Cahker [mailto:[EMAIL PROTECTED] 
Sent: 04 April 2006 19:41
To: php-general@lists.php.net
Subject: Re: [PHP] php, sessions and ie

How are you destroying the sessions if they leave the site (dont logout). do
you check on activity or something else?

On 4/4/06, Dan Parry [EMAIL PROTECTED] wrote:

 I have had some issues with sessions and IE in the past and used the
 following code to start the session

 ?php
 if (isset($SessID)){ session_id($SessID); }
 session_start();
 header(Cache-control: private); // IE 6 Fix.
 setcookie(SessID, session_id(), time() + 60 * 15);
 ?

 Now, though, I always use a DB to store sessions... Much nicer

 HTH

 Dan

 -
 Dan Parry
 Senior Developer
 Virtua Webtech Ltd
 http://www.virtuawebtech.co.uk
 -Original Message-
 From: Dallas Cahker [mailto:[EMAIL PROTECTED]
 Sent: 04 April 2006 16:19
 To: php-general@lists.php.net
 Subject: [PHP] php, sessions and ie

 I've been hearing some of my friends saying there is an issue with Session
 in PHP and IE having problems with them.  Is that true?  If it is how do
 people get around this?  Session information saved to db?  Session id in
 cookie?


 __ NOD32 1.1454 (20060321) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php