Passing Multiple Name/Value Pairs

Results 1 to 3 of 3

Thread: Passing Multiple Name/Value Pairs

  1. #1
    RipCat Guest

    Default Passing Multiple Name/Value Pairs

    I thought that when you passed a query string...You separated name/value pairs with ? and could access via request object...<BR><BR>Here&#039s my function call:<BR><BR>onClick="return utlBrowserRedirect(&#039ProductsMasterView.ASP?Cur rentPage=1?Selection=AllCurrent&#039)"<BR><BR>Funt ion just redirects via window.location.href:<BR><BR>function utlBrowserRedirect(tcVar)<BR>{<BR> window.location.href(tcVar);<BR>}<BR><BR>When I do a response.write(Request.QueryString())...I get<BR>1?Selection=AllCurrent...<BR><BR>How do I pass correctly...???...I&#039ve looked around and can&#039t find example of passing multiple query string elements...<BR><BR>Thanx in Advance...

  2. #2
    Join Date
    Dec 1969

    Default RE: Passing Multiple Name/Value Pairs

    hi i think how can ewe pass mutilpe values in querystring<BR>it like this<BR>&#039ProductsMasterView.ASP?CurrentPage=cu rrent1&secodname=secondvalue&thirdname=3rdvalue"<B R>like that using& operator ucan concate the multiple values

  3. #3
    Join Date
    Dec 1969

    Default RE: Passing Multiple Name/Value Pairs

    You used ? to seperate your different elements. To rewrite your querystring: page.asp?CurrentPage=1&Selection=AllCurrent<BR><BR >so use & to seperate your values instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts