Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 what's the purpose of checking RequestMethod?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bjlt
Senior Member

1144 Posts

Posted - 31 May 2003 :  15:35:30  Show Profile
in admin_login.asp there's

RequestMethod = Request.ServerVariables("Request_method")

if RequestMethod = "POST" Then


I wonder what's the purpose of the codes there? Are there any security concerns?

Thanks in advance.

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 31 May 2003 :  17:18:48  Show Profile  Visit HuwR's Homepage
it is to make sure the info came from a form submit rather than someone hacking the querystring and using a GET
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 31 May 2003 :  17:33:03  Show Profile
ah, I see. Though even it won't hack the system really using GET, this check will filter such actions and free the db from queries.

Thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 2.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07