Can you check the http referer, if it is the same as the script name, set a
variable.. if this variable is set then don't run the timeout/reload?

I know cf can check the http referer and script name, of course.  I believe
javascript can also check the http referer (at least in ie, not sure about
cross browser), and you can get the window's current href....

It might be feasable ...

|-----Original Message-----
|From: Sam Komolafe [mailto:[EMAIL PROTECTED]]
|Sent: Wednesday, March 07, 2001 6:12 PM
|To: CF-Talk
|Subject: Javascript - Reloading window
|
|
|Hi guys,
|
|I need to reload a window just ONCE.  I used javascript
|window.setTimeout(location.reload(),1000) function but it reloads
|continuously.  How can I reload the window just ONCE
|
|Thanks
|
|sam
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to