>- see footer for list info -< Not sure about the ajax stuff, but in terms of world domination, I think a railo powered death ray aimed at a major European city should be your starting point....possibly a fluffy cat and a pool of piranhas too....:-)
On Wed, Mar 12, 2008 at 6:33 PM, Peter Boughton <[EMAIL PROTECTED]> wrote: > >- see footer for list info -< > Hi all, > > We have a membership system that requires all users to login, and has an > imposed half hour timeout. > Currently any remote JS calls that happens after an idle timeout results > in > JSMX alerting "Parsing Error: The value returned could not be evaluated." > and that's obviously not good. We should be properly handling the error > and > redirecting to the login screen. > > I'm planning to implement something that will allow us to properly catch > when logouts have occurred and handle things properly. > However, I figure it's a common enough situation that others might already > have thought up a solution, and instead of re-thinking the wheel I can > save > my brain cells for my plans of world domination. > > So yes, immediate reaction was simply for all JS requests to have > "ajax=true" added to the URL, and then in the authentication checking > code, > if it finds that the URL contains that token, it should simply return > blank > or zero or whatever, otherwise it continues on to wherever it was going. > > Can anyone see any flaws with that, or have any better ideas on how to > handle this? > > > This is for a CF7 / FB5 application, and we're switching to jQuery (rather > than JSMX). > > > Thanks, > > Peter > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help > -< > -- Mike T Blog http://www.socialpoints.com/ _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
