RE: php, sessions and ie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:christmasfruitcake@xxxxxxxxx] 
Sent: 04 April 2006 19:41
To: php-general@xxxxxxxxxxxxx
Subject: Re:  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 <dan@xxxxxxxxxxxxxxxxxxx> 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:christmasfruitcake@xxxxxxxxx]
> Sent: 04 April 2006 16:19
> To: php-general@xxxxxxxxxxxxx
> Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux