Request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MATTXtwo
    New Member
    • Sep 2006
    • 83

    Request

    Hi guys I need an answer...
    Is't posibble an asp pages to have more querystring?
    Code:
    DBS=Request("TarikhLahir")
    TL=Request("tlahir")
    Negara=Request("Country")
    Negeri=request("State")
    Status=request("MStatus")
    Relics=request("agama")
    Ethnic=request("Bangsa")
    TK=request("TarikhKahwin")
    KWSP=request("Kwsp")
    SOCSO=request("Socso")
    TAX=request("Tax")
    MAIL=request("Email")
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi MATTXtwo,

    What exactly do you mean by more querystring? You can store as many variables as you like within the querystring like so:

    Code:
    www.mypage.com?a=1&b=2&c=3 etc
    And then retreive each variable as you have done above. The only limit is the number of characters which can fit in the querystring and this varies by browser. I think that IE generally has a limit of 2,048 characters which is probably the standard to go by even though other (better) browsers can handle more.

    Does this answer your question? If not please try to explain it again.

    Regards,

    Dr B

    Comment

    • MATTXtwo
      New Member
      • Sep 2006
      • 83

      #3
      I got a form fill with lots of input tag element that I need to pass the value to other pages along with session...but some error got away

      Comment

      • DrBunchman
        Recognized Expert Contributor
        • Jan 2008
        • 979

        #4
        Well you can use the form to pass the variables rather than the querystring which might be easier.

        What was the error you got?

        Dr B

        Comment

        • MATTXtwo
          New Member
          • Sep 2006
          • 83

          #5
          is't a limit for request I got this details
          Code:
          NewICNo=666666666666&OldICNo=H0735207&rad1=P&rad2=W&Tarikh1=10%2F4%2F1969&tlahir=KG+NALUYAN+SIPITANG+++++++++++++++++++++&Country=MY&State=SAB&Mstatus=1&TarikhKahwin=10%2F4%2F1969&agama=90&Bangsa=01&Kwsp=6666666666&Tax=666666666-66%286%29+&Email=aaaaaaaaaa@pos.com++++++++++++++++++++++++++++++++&image2.x=52&image2.y=8
          which means only 17 variable of request.Form manage to slip...got missing one variable

          Comment

          Working...