[EMAIL PROTECTED] (Paul Gentile) wrote:
>>Has anyone used getWebVar for retrieving name-value pairs from a URL? I have>an
application whose initial page does some code in the onBeforeLoadEvent.>This
code
is trying to retrieve a name-value pair from the URL that was used>to launch
the
application.>>For example, say the browser launched the NetD application with
this
URL:>>http://www.somewhere.com:80/Scripts/ndISAPI.dll/someproject/pgMain?userid=Ji>mB>>Is
it possible to use getWebVar to retrieve the value associated
with>"userid"?>>Does
anyone know a way to see the available web variables?>>Thanks,>Paul
Gentile>_______________________________________________________>Cardinal
Group International, Inc. 508 620 9119x170>495 Old Connecticut Path
[EMAIL PROTECTED]>Framingham, MA 01701
www.cardinalgroup.com>>
Paul,
CSpider.getWebVars() will returns a reference to the Hashtable which contains all
current Web variables values
also, getting webVariables from url is just as you said.
i.e. after putting a web var ROW_INDEX into url
// grabs the ROW_INDEX value from the url and stores it in rowIndex
int rowIndex = CSpider.getWebVar("ROW_INDEX").intValue();
Cheers
Troy McKinnon
Nortel Networks
Software Solutions Group
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]