Hi,
I am using below code to get the authentication tokens and session expiry date for that token.
AuthenticationClient authClient = new AuthenticationClient(); Authenticate User(UserName, Pwd) strTokens = get Authentication tokens
//Get Expiry date for session public static DateTime? dtExpiry = authClient.GetSessionExpirationDate(ref OTAuthentication);
I am getting the token string for given user id and password. but the GetSessionExpirationDate() method is returning a null value. I am using this value to check when the session is going to expire and renewing the session again. but as this value is null, I am not able to check when thesession is expiring.
Can i get some info abvout how to handle the session in this case.
is there any other way to performe this operation, so that the session will not expire until execution of my program.
Thanks and regards,
Raghav Tatte