Can someone explain or post example code as to how I can go
about setting a cookie in AIR using HTML and Javascript?
I have an AIR app that requires the user to login on a form that lives in a non-applicationSandbox. I know how to create/modified/delete cookies using JS and a web browser, but the same code returns a cookie with a null value. I'm sure I'm just missing one line/word of code to make this happen.
The stripped down basics of setting and reading a cookie using Javascript:
document.cookie("myCookie = yummy");
var taste = document.cookie;
What am I doing wrong?
I have an AIR app that requires the user to login on a form that lives in a non-applicationSandbox. I know how to create/modified/delete cookies using JS and a web browser, but the same code returns a cookie with a null value. I'm sure I'm just missing one line/word of code to make this happen.
The stripped down basics of setting and reading a cookie using Javascript:
document.cookie("myCookie = yummy");
var taste = document.cookie;
What am I doing wrong?