Re: Methods

2003-12-09 Thread Patricio Muñoz
; > I work with module Apache::ASP and not found documentation for method > > CreateObject("Scripting.FileSystemObject"). > > For sample the next script in ASP > > > > <% > > Set filesystem = CreateObject("Scripting.FileSystemObject") > > Se

Re: Methods

2003-12-09 Thread Helmut
CreateObject("Scripting.FileSystemObject") Set folder = filesystem.GetFolder(server.mappath(mypath)) Set subfolders = folder.SubFolders Set filecollection = folder.Files %> what methods support Apache::ASP ? GetFolder, SubFolders, Files ? regards -

Methods

2003-12-09 Thread Patricio Muñoz
mypath)) Set subfolders = folder.SubFolders Set filecollection = folder.Files %> what methods support Apache::ASP ? GetFolder, SubFolders, Files ? regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Methods other than GET and POST

2002-05-01 Thread Ross Thomas
> I believe this should be done as an Apache configuration, for example: > > > Order allow,deny > Deny from all > Good point, and much more configurable. That way you can do stuff like limiting certain request methods to authenticated users, etc.

Re: Methods other than GET and POST

2002-04-30 Thread Joshua Chamas
Ross Thomas wrote: > > > I wrote an ASP page that returned an excel table based on POST parameters. > > You should really use GET to get data, but then I'm hyper-critical ;) > > > My scripts now always have on start: > > > > if ($Request->{Method} !~ /GET|POST/) { > > $Response->{Status} =

Re: Methods other than GET and POST

2002-04-30 Thread Ross Thomas
> David is correct, Apache::ASP does no special handling of non-GET/POST > requests. So you could put similar code to the above in your global.asa > Script_OnStart event to handle the PUT/DELETE as you see fit. I was thinking more about automatic handling of PUT data. It would probably be a good

Re: Methods other than GET and POST

2002-04-30 Thread Ross Thomas
> I wrote an ASP page that returned an excel table based on POST parameters. You should really use GET to get data, but then I'm hyper-critical ;) > My scripts now always have on start: > > if ($Request->{Method} !~ /GET|POST/) { > $Response->{Status} = 500; > $Response->End(); > } Perh

Re: Methods other than GET and POST

2002-04-30 Thread Joshua Chamas
"Kulp, David" wrote: > > On a related note, Apache::ASP doesn't actually check the request method. > This can cause a nasty problem. > > I wrote an ASP page that returned an excel table based on POST parameters. > Internet Explorer will then send several different URL requests to the > server in

RE: Methods other than GET and POST

2002-04-30 Thread Kulp, David
e on start: if ($Request->{Method} !~ /GET|POST/) { $Response->{Status} = 500; $Response->End(); } -d -Original Message- From: Ross Thomas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 5:55 PM To: [EMAIL PROTECTED] Subject: Methods other than GET and

Methods other than GET and POST

2002-04-30 Thread Ross Thomas
Does Apache::ASP directly support request methods other than GET and POST? >From a quick grep of the module I'd say it doesn't, but it's worth asking. I'm interested in using at least the PUT and DELETE methods in a project I'm working