Is there a way to catch session timeout ?

I use this code:

session = client.getSession("Administrator","Administrator");

but I don't know how to catch exception when session timeout.

Please help me.

0 votes

0 answers

1824 views

ANSWER