[thelist] ASP - Request Object

Scott Dexter sgd at ti3.com
Wed May 31 18:20:02 2000


(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