Click to See Complete Forum and Search --> : Passing & Receiving parameters from an asp page
FlyingHigh
Jun 8th, 2001, 07:45 AM
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
sebs
Jun 8th, 2001, 11:52 AM
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")
FlyingHigh
Jun 9th, 2001, 07:21 AM
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
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.