I created a mashup and intergrated with my mobile.
When I click the mobile button, then call java to get a ticket, then skip to the mashup page . But when I click the iphone homebutton ,then the mashup will run in the backgroud. when I reopen the mashup page , then connection lost.
So my clients want to make it reconnect. So how to achieve this goal?
Hi, Unfortunately, with the capability API's, you can't keep a session, each time you lose your connection, a reconnect is needed and a new websocket is created -> new session.
(not sure if this is possible but...) You maybe able to listen to window.on('focus blur', ...) and try to reconnect.