Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

self.location.reload() coding, stumped.

Status
Not open for further replies.

sprintman04

Programmer
Mar 1, 2004
3
US
I am using a coding for self.location.reload() belowL

// Record current settings in cookie
function setCurrState(setting) {
var expire = new Date();
expire.setTime(expire.getTime() + ( 8 * 7 * 86400000 ) ); // expire in 8 weeks
document.cookie = "currState=" + escape(setting) + "; expires=" + expire.toGMTString();
self.location.reload();

The problem is that it will work on all computers so far, it will flash once, and will allow to work, on my machine i have 6.0 ie, and it justs keeps on re-flashing, any thoughts
 
Do you have cookies enabled in IE6? Check your privacy settings in the browser.


Pete.


Web Developer & Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist
w: e: Pete.Raleigh(at)lclimited.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top