tags:

views:

72

answers:

0

Is there a call I can make to determine whether my session is still alive in a gsoap client?

The only way I see to check if a session is still alive is to check to see if all the cookie values match after each soap call. It seems like gsoap would be aware of the session being alive since the tcp_keep_alive flag is set. Is there functionality in gsoap that would allow me to check this before a soap call? Is there a callback that will inform me of session loss? Or should I just make a dummy soap method for this purpose?