|
using request("varname") will search through all the request collections looking for a key/value pair with a key of "varname".
so request.ClientCertificate, request.Form, request.QueryString, request.Cookies & request.ServerVariables are all checked for it's existance
It is somewhat slower than explicitly declaring the collection to use, but it is a way of being able to grab all parameters in one call.
Unless you actually need to search all collections at once, it is a bit of a lazy method and could leave the code open to abuse and cracking attacks, simply because a developer using this method could well be leaving out other forms of protection.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|