These cookie management routines differ from the usual textbook examples in that the expires which usually takes the form of:
expires=’Thu, 01-01-2000 15:00:00 GMT’;
Is written to the browser as:
expires=Thu 01-01-2000 15:00:00 GMT;
Disposing of the apostrophes and the comma after the day of week, seems to correct the problem of IE 4.0 not expiring the cookie.