-
April 13th, 2010, 01:26 PM
#1
Browser close event
Dear All,
Can anyone help out,
How to handle the browser instance closing event in LS java adapter?
Thanks in advance
Regards,
Raja
-
April 14th, 2010, 08:45 AM
#2
Do you refer to a browser instance which runs a single pushpage while other pushpages remain alive within other browser instances?
Or does your application consist of only one pushpage and do you refer to the browser instance which runs this only page?
As a general rule, if there is an active session and a page gets closed, the Server will be eventually notified, though with a possible delay;
on the other hand, if the Engine were disconnected at the time the page were closed, there would be no way for the Server to be notified.
We can add more details once your specific use case is identified.
-
April 15th, 2010, 08:48 AM
#3
Dear DarioCrivelli,
Thanks for the reply
"As a general rule, if there is an active session and a page gets closed, the Server will be eventually notified, though with a possible delay;"
Can you please, give the details of Server notification (ie, function name etc) to handle the page closing event.
Thanks and regards,
Thiagarajan
-
April 15th, 2010, 09:58 AM
#4
For what concerns my first question, I assume that you are in the simplest case,
that is: your application consists of just one pushpage (which includes its own Engine) and you close the browser, so the whole application gets closed.
This causes the session to be closed, so that the Server can notify the Metadata Adapter through the notifySessionClose callback.
As said, the Server may need some time to understand that the client has detached and, even then, it may wait for some time before sending the notification.
Note, however, that notifySessionClose is invoked upon session closure for any reason.
There is no information about the cause.
Similar Threads
-
By spganesh in forum Client SDKs
Replies: 1
Last Post: February 10th, 2010, 10:23 AM
-
By lizsedley in forum Adapter SDKs
Replies: 1
Last Post: September 21st, 2009, 01:32 PM
-
By skidrow406 in forum Client SDKs
Replies: 4
Last Post: March 11th, 2008, 05:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 03:15 PM.
Bookmarks