server and client session expires fix