How to submit values from a mobile page to another mobile page? RRS feed

  • Question

  • User-244929977 posted

    How can I tranfer values from this mobile page to another mobile page when I click a command button or a hyperlinks

    (How can I submit values from a mobile page to another mobile page in .NET?)

    Thank you.

    Tuesday, July 25, 2006 11:26 PM

All replies

  • User-277473267 posted
    you could use query strings

    you form an url with a query string on one page1 with link to page2 then you collect the query string values on page2

    if lets say your url is in the form of http://www..home.com/default.aspx?value1=3&value2=4

    you can then access this values by
    dim tvalue1, tvalue2
    tvalue1 = request.querystring("value1")
    tvalue2 = request.querystring("value2")

    Friday, July 28, 2006 7:33 AM
  • User-1440242974 posted

    If you want a safer way to do this is using Session vars example:


    Session("userid")= value



    to use it in form2.aspx

    dim User as string = Session("userid")

    Friday, September 29, 2006 5:13 PM