Hi,
it's not really WRT but I haven't found the right category. I came to the same conclusion as the "here and now"-team: why starting a programm which will for sure link to a webpage if the stuff the programm does can be done by the browser as well.
So I try to save some userdata, in this case some urls within the "programm". The only way to do that is (correct me if I am wrong) with cookies. But the site seems to only save the cookies if the .htm is on a webserver, not if the file is locally stored ( file:///E:/testprog/test.htm ).
Is this some problem I could avoid? Or a browser issue (it's working with Firefox...).
I am testin with a 5800XM.
THX for help!
EDIT: I am adding the cookie with the following code:
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

Reply With Quote



