[ic] Addition of CookieExpire

Mike Heins mike at perusion.com
Tue Jun 24 22:30:13 UTC 2008

Quoting Davor Ocelic (docelic at spinlocksolutions.com):
> On Tue, 24 Jun 2008 15:20:30 -0500
> Josh Lavin <josh at kingdomdesign.com> wrote:
> > 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?
> Yes, as if you didn't even close your browser.
> This is currently not possible to achieve because the session
> cookie expires when you close your browser.

It certainly is possible to achieve.

In catalog.cfg:

	SaveExpire   1 month

Then just have the mv_save_session variable set when the user submits
a form that does user_update (like the return or refresh action). It
will set the expiration time for the cookie.

It might still be better to add the new facility, though.

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
 -- unknown, often falsely attributed to Winston Churchill

More information about the interchange-users mailing list