I'd try onunload and onbeforeunload events to see they help. If that
doesn't help, I'd try putting up an Alert box before making the AMF
call to make sure AMF call is made before the browser is closed.

-Mete

--- In flexcoders@yahoogroups.com, "Dan" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am trying to invalidate a session by explicity invoke a AMF call 
> when the user click logout or closing the browswer.
> 
> By ExternalInterface, the CLOSE event is capture within the FLEX 
> correctly. But by tracing in the debugger, if a AMF is invoke upon 
> this, the call did invoke but the AMF call is not sent to through the 
> FDS, I wonder if the application is being killed before the FDS 
> successfully sent the request.
> 
> Is it not a good idea to invalidate a session in this way? Any 
> Flexpert suggestion? :>
> 
> Dan
>


Reply via email to