| About Cookies |
Applies to IE Browser publications. In HTML Executable, cookies may not work properly. Moreover, as they are not enough secure nor persistent, they are replaced by global variables. Global variables can be used by HEScript and JavaScript scripts to share data and store values in the publication. They are better and more secure than cookies. If you were using cookies in your JavaScript code, we recommend you to switch to global variables. JavaScript code to replace cookies with global variables
function createCookie(name,value,days) {
In a HTML Executable publication, you can replace it with: function createCookie(name,value,days) {
window.external.SetGlobalVariable(name, value, true);
function readCookie(name) {
You can use this instead: function readCookie(name) {
|