[thelist] ASP - Request Object
Joel Morris
joelm at citycent.com
Wed May 31 19:03:22 2000
Scott & aardvark --
"deadlines=workarounds" - I can think with that.
I'll try the "For each... Next" - looks like it should work.
Nope, not a JS guru - just a hacker in that area. I just modified some code
from O'Reilly's ASP Nutshell book some time back to make a generic mailform
script that works like a charm. Maybe the guy who wrote the book likes JS -
dunno.
Not sure about the versions of NT Service Packs the ISP is running - I've
sent their tech support a message explaining the problem to see if they can
dig into it.
Yes, everything is being "Post"ed from the form.
Thanks for all the help - I'll put my books away now and get back to coding.
Best, Joel (aka "Ed")
> [mailto:thelist-admin@lists.evolt.org]On Behalf Of Scott Dexter
> (I was quiet cause I have NFI)
>
> >
> > > Microsoft VBScript runtime error '800a01b6'
> > > Object doesn't support this property or method: 'Request.Form.Key'
> > >
> > > /extranet/confirm1.asp, line 21
> > >
> > > line 21 is the Request.Form.Key line above
> >
> > you need to request the field name... form is a valid item in the
> > Request object, but key isn't... it's arbitrary...
>
> yah, if you want the name of the key, do something like
>
> for each val in Request.Form
> response.write val & " = " & Request(val)
> next
>
> --you can also get to the item by idex like this: Request.Form(1)
>
> >
> > > strBytes = Request.TotalBytes
> > > Response.Write strBytes & "<p>"
> > >
> > > ...it'll give an error that it doesn't support 'Request.TotalBytes'
> >
> > TotalBytes is also not a part of the Request object, so it won't
> > work...
> >
>
> yeah it is, for a form that is POSTed, it provides the total
> number of bytes
> passed in.
>
>
> Which leads me to the only thing I can think of: Are the ASP
> engine versions
> different? --NT sp6 was a large IIS update (like sp4), and there
> have been a
> couple VBScript engine updates. Make sure those match up....
>
> other than that, yeah it should work, but like Adrian,
> deadlines=workarounds
> ....
>
> sgd
> --
> think safely
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>