Results 1 to 3 of 3

Thread: Passing & Receiving parameters from an asp page

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    India
    Posts
    22

    Passing & Receiving parameters from an asp page

    Is it possible to call an asp page from a browser
    (i) pass one/some parameters to it
    (ii) receive one/some parameters from it
    programmatically?

    Thanks
    I know I wont get much sleep tonight but that does'nt stop me from going to bed.

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    what do you mean from a browser!!!

    usually you pass it like this:

    window.location='someAspPage?firstData=hello&secondData=bye';

    usually you receive it like this:

    someVariable=request.queryString("firstData")
    someOtherVariable=request.queryString("secondData")

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    India
    Posts
    22
    Ok maybe I should tell you my problem in detail

    I have VB project in which I need to call an asp page
    I use a browser control and to its 'Navigate' property I assign the name of the asp page.(This is as good as writing in the address bar of a standard browser.)
    I want to provide the asp page some parameters(say Name and Id)
    and when the asp page completes its execution
    (it searches for the Id in a table on the site)
    it should tell me whether the search was successful or not.

    I think I am still not clear.
    Anyway your answer solved the problem of passing the parameters.Thanx
    I know I wont get much sleep tonight but that does'nt stop me from going to bed.

Posting Permissions

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



Click Here to Expand Forum to Full Width