Skip to main content

destroy_cookie

Function destroy_cookie 

Source
pub fn destroy_cookie(cookie_name: &str) -> String
Expand description

Build a Set-Cookie header value that clears cookie_name in the browser (Max-Age=0). Use after calling SessionStore::destroy.