has_session_cookies¶
- ciecplib.cookies.has_session_cookies(jar, url)¶
Return
Trueif the given cookie jar has a session cookie we can use.- Parameters:
jar (
http.cookiejar.CookieJar) – the cookie jar to checkurl (
str) – the URL of the service that needs cookies
- Returns:
can_reuse (
bool) –Trueif any cookie in the jar is a non-expiringshibsessioncookie for the given same domain asurl