I've been having trouble getting AJAX and Flex to work...
I've followed the readme exactly, I can get the few methods available
from FABridge, but I keep getting this error:
Access of possibly undefined property flash through a reference with
static type Class
it's coming from this line
public function useBridge():void
{
var flexApp = FABridge.flash.root();
}
--- In [email protected], "TCash21" <[EMAIL PROTECTED]> wrote:
>
> Any chance it's possible without using AJAX?
>
>
> --- In [email protected], "Duke, Alfred W [YOH Contractor for
> Sprint]" <alfred.w.duke@> wrote:
> >
> > Tanya,
> > You can all of this using AJAX with flex
> >
> > ________________________________
> >
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of TCash21
> > Sent: Monday, March 19, 2007 11:24 AM
> > To: [email protected]
> > Subject: [flexcoders] logout user after cookie expires (state change)
> >
> >
> >
> > Hi all,
> > I'm using PHP + Flex, and I'm pretty new to using sessions and session
> > data. I've figured out how to create a cookie, make it expire, etc...
> >
> > I need to check the session ID with every HTTPService request, and if
> > it's not valid, log the user out (make a state change in Flex).
> >
> > Also, if the cookie expires, I need the user to be logged out.
> >
> > Does anyone know how I can check this and trigger a state change (to
> > logged out state)?
> >
> > Thanks
> >
>