new Cookie()
For cookie handling.
Methods
- 
    
<static> getCookie(cName)
 - 
    
    
Gets a cookie.
Parameters:
Name Type Description cNamestring Cookie name.
Returns:
The cookie value associated with
cName, orundefinedif not found.- Type
 - string | undefined
 
 - 
    
<static> setCookie(cName, value, exdays, path)
 - 
    
    
Sets a cookie.
Parameters:
Name Type Description cNamestring Cookie name.
valuestring Cookie value.
exdaysnumber Days until expiration.
pathstring Cookie path.