[ic] Addition of CookieExpire

Josh Lavin josh at kingdomdesign.com
Tue Jun 24 20:20:30 UTC 2008

On Jun 24, 2008, at 12:18 PM, Davor Ocelic wrote:

> Hey folks,
> Sites like Amazon etc. support 'resuming' your session even after you
> close the browser.

So you're talking about the cart and other values still being  
available upon their next visit, right?

Sounds good to me.


> Here's a simple patch that would add this functionality to  
> Interchange.
> When you set the new CookieExpire directive in the config file, then  
> session
> cookies are created with expiration date = time() + CookieExpire,  
> instead
> of at the end of session.
> This allows you to 'resume' your session in that timeframe. As the  
> date in
> the cookie is not updated after initial cookie creation, the session  
> *would*
> eventually expire (in  time() + SessionExpire  after session  
> creation).
> Please comment.
> -doc

More information about the interchange-users mailing list