getCookie Method

This method will retrieve the value of a cookie previously saved using the setCookie command.

intel.xdk.cache.getCookie(name);

Description:

This method will get the value of a cookie previously saved using the setCookie command. If no such cookie exists, the value returned will be “undefined”.

Available Platforms:

Parameters:

name: The unique name for the data to retrieve.

Example:

var value = intel.xdk.cache.getCookie("userid");
Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.