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
> >
> >
> >
>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
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