Mac IE issue?

M

Mark Anderson

Hi, this code which works fine in Win IE doesn't seem to execute when called
from the body onLoad event:

function setLast() {
var myPage = location.href;
deleteCookie('lastPage');
var expDate = new Date();
expDate.setTime( expDate.getTime() + ( myDuration * 60 * 60 * 1000 ) );
setCookie('lastPage', myPage,expDate,cookiePath);
var myTest = getCookie('lastPage');
}

The function - tested by inserting an alert - *does* get called in Mac IE so
it looks like a cookie issue or something in the date code? FWIW, the
cookie routines called are those on Laurent B's Galasoft site and I don't
think there is an issue with those.

The cookie is needed as I allow a user to toggle between 2 sets of
multi-page query requests - I don't want to dump them at page 1 of N each
time they chop to the other set of pages.

FWIW, using Mac IE 5.2 OS 10.2.6 / Win IE v5.5 Win 2k(SP3)

TIA,

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top