Thanks, Jeremy.
Unfortunately, this highlights another advantage of the multiple
<key=value> approach. My log files are not located in the Analog
directory, so I'm specifying the full path -
D:\INETPUB\virtual\W3SVCx\ex99MMDD.log
If I select a small number of logfiles, everything works as expected. If
I select a few more, I get the following error:
\analog\analog.exe: Warning C: Ignoring long configuration line starting
LOGFILE "D:\Inetpub\virtualdirectory\W3SVCx\ex990715.log,D:\Inetpub\vi
(For help on all errors and warnings, see docs/errors.html)
If I select a lot of entries (eg a months worth), I get:
Error in QUERY_STRING
Analog form interface: SECURITY WARNING on request from 136.141.120.11
(136.141.120.11): QUERY_STRING too long
(This last error is exacerbated by the fact that both lo= and logfiles=
are passed with this script, which makes the Query string much longer.
But even if logfiles= is cleared, this is still going to be a problem.
Is there a parameter to specify the log file directory, so that I could
just use relative paths?)
Aengus
______________________________ Reply Separator _________________________________
Subject: Re: [analog-help] Multiple logs in Form I/F
Author: [EMAIL PROTECTED] at Internet
Date: 7/28/99 12:09 PM
Aengus Lawlor wrote:
> Way back in March (!), I asked about selecting multiple logs in
> Anlgform.exe, using the <SELECT MULTIPLE> tag, which creates multiple
> <key=value> pairs in the parameter list it passes to the form handler.
> Anlform.exe expects <key=value,value,value>, which isn't easy to
> automate in a form.
I agree this would be a nice improvement. For now you can try some
JavaScript.
<FORM NAME="theForm">
...
<SELECT MULTIPLE NAME="logfiles" ONCHANGE="setLogs(this)">
<OPTION VALUE="ex990101.log">1999 Jan 01</OPTION>
<OPTION VALUE="ex990102.log">1999 Jan 02</OPTION>
<OPTION VALUE="ex990102.log">1999 Jan 03</OPTION>
...
</SELECT>
<INPUT TYPE="HIDDEN" NAME="lo">
...
</FORM>
...
<SCRIPT LANGUAGE="JavaScript 1.1">
function setLogs( selector ) {
var logs = "";
for( var i=0; i < selector.length; i++ ) {
if( selector.options[i].selected == true ) {
logs += selector.options[i].value + ",";
}
}
logs = logs.substring( 0, logs.length - 1 );
document.theForm.lo.value = logs;
}
</SCRIPT>
HTH,
--
Jeremy Wadsack
OutQuest Magazine
a Wadsack-Allen publication
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------