Well for a shopping cart application, I would not set your timeout period for a
short amount of time. I would set it for like 1 hour and that should alot plenty
of time for them to finish they're shopping experience.
"Success is a journey, not a destination!!"
Doug Brown
----- Original Message -----
From: "Ben Densmore" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 11:50 AM
Subject: Re: how to tell if a session has expired
> I'm using this for a shopping cart I built, and the only session variable I
> am creating is one called session.cart which creates a structure to store
> the shopping cart stuff, I wanted to make it so if they add to the shopping
> cart and the session expires then send them to a page that tells them their
> session had expired, I don't use any login stuff for this app, that's why I
> have been struggling to figure out how to do this.
>
> Thanks,
> Ben
>
>
> At 02:48 PM 4/11/2002, you wrote:
> >in your application page just do a
> >
> ><cfif(not(isDefined("session.loggedIn")>
> ><cflocation url="login.cfm?expired=true">
> ></cfif>
> >
> >
> >"Success is a journey, not a destination!!"
> >
> >
> >
> >Doug Brown
> >----- Original Message -----
> >From: "Ben Densmore" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >Sent: Thursday, April 11, 2002 11:39 AM
> >Subject: how to tell if a session has expired
> >
> >
> > > Can someone tell me how you can tell if a session has timed out? I just
> > > want to redirect someone to a different page if their session has timed
> > > out,I can't find any reference to this anywhere, I know it's gonna be
> > > something so simple, but can't seem to find it.
> > >
> > > Thanks,
> > > Ben
> > >
> > >
> > >
> >
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists