client side fixes for session support