Thanks for your help. I copied the lines that you recommended, but unfortunately it provides me with a script error on the page.
:
This message was edited by akdruid at 2004-2-3 19:2:59
:
This message was edited by akdruid at 2004-2-3 18:58:39
: The problem is in these lines:
: <% IF dtmLastModified >= newCookie THEN %>
: <script language="JavaScript" type="text/javascript">
: <!--
: alert("This page has been updated since your last visit.");
: //-->
: </script>
: <% END IF %>
:
: You see you can't combine ASP-VBscript with javascript! So what happens is, the javascript code runs every time, without being inside the IF statement!
:
: Since IIS and ASP doesn't support the MsgBox function you should change these lines to:
:
<%IF dtmLastModified >= newCookie THEN %>
: <script language="VBScript" type="text/vbscript">
: msgbox ("This page has been updated since your last visit.")
: </script>
: <%END IF %>
:
: At least that worked for me... (I have tested your code on my PC and works perefectly

)
:
: akdruid
: cu around
:
: P.S.: If it doesn't work post again and we'll what's wrong
:
:
Edit: I forgot to mention that this code works only if the .asp file is modified, not the data that it may hold (e.g from a database)! So if you add new data in the database from which your .asp file and code gets to post, then no message (or pop-up window) will apear...
:
:
:
: