I have a WebQuerySave Agent that has stopped working. It was working befre 2/18/03 and then just stopped. I have just upgraded to a new server with ND6 on it and the agent still does not work. Worked fine until 2/18 on R5.0.8 then that stopped.
It is stopping on the first line of code. Here is my entire piece of code where I found out what line it was failing on.
Sub Initialize
Dim Session As New NotesSession
Print [BODY onLoad="setTimeout(window.close, 15000)"]
Print [H1>Thank you for your submission.[H1><br><br]
Print {<hr><br><br>You will be notified if you win.<br><br><br><hr><br><br>}
Print {<center><input type=button value="Close Window" onClick="javascript:window.close();"></center>}
End Sub
As long as I do not have the first DIM Session as New NotesSession statement it works, but then I cannot send e-mails to the required people.
Any help would be appreciated. This is a virtual web server. It has 3 different hosts on it. It is just the WebQueryAgents that have stopped working. Everything else works fine.
Subject: How did this ever work? you are not using valid string delimiters on the prints.
Try Print {}
Print {<H1>Thank you for your submission.</H1><br><br>}
Print {<hr><br><br>You will be notified if you win.<br><br><br><hr><br><br>}
Print {<center><input type=button value="Close Window" onClick="javascript:window.close();"></center>}