Hi,

You can invoke your service from java script on browser *onunload* event.
This event will get fired while closing browser window.

Just try it out.



On Thu, Jun 27, 2013 at 8:08 PM, Motish Jain <[email protected]> wrote:

> Even I am facing this issue. I thought of an approach of setTimout but
> this wont be a good approach to solve this problem.
>
> Please tell me when you get a solution
>
>
> On Tuesday, August 21, 2012 10:19:54 PM UTC+5:30, matiasx wrote:
>>
>> Hi all,
>>
>> I'm facing a problem when closing my browser.
>> I'd like to know if it's possible to dispatch a call to my service for
>> make a logout call.
>> I try ExternalInterface.addCallback and define my function on JavaScript
>> but i can`t get to my backend that is on Java.
>>
>> I don't know if is a matter of timming. I mean, my browser close so fast
>> that i can't even get throuht my Java services.
>>
>> Any clue will be nice.
>> PS: I'm using Swiz framework
>> Regard
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/flex_india.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 

Regards,
Manikandan.S  <http://www.umoldit.com>
 <http://www.umoldit.com>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/flex_india.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to