pui.getCookie( name )



This API retrieves a browser cookie from the user's computer by its name.  If a cookie is not found, null is returned.

Parameters:

  • name - the name of the cookie

Example:

var user = pui.getCookie("user");