Low cost ecommerce web development India flash website design 

The Request.QueryString Collection

Quite often, you might have seen page URL's like the one below:

http://www.greetings.com/show.asp?CardID=128762173676

This is a direct link to a card that your friend sent you. You just need to click

on the link, and the card shows up. You do not need to identify yourself or

enter any code number anywhere. All the information that the site needs, is

encoded in the string,

CardID=128762173676

This is known as the Query String and forms part of a URL.

You can pass multiple values too, using something like:

Page.asp?FirstName=Manas&LastName=Tungare&Sex=M

The Request.QueryString Collection helps you sort this stuff out and extract

only what you need – the values of the variables themselves.

So to access the data contained in the variable FirstName above, you would

use:

Request.QueryString (“FirstName”)

This again, is a regular variable that you can assign to another, or do

arithmetic on.

The Request.QueryString collection gives you access to yet another class of

variables – those passed via a FORM with it's METHOD = “get.” However,

there is a limit to the amount of data that can be passed on via the QueryString

and you are expected to use a form for more data.

freelance web designer India web development

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73