Link to home
Start Free TrialLog in
Avatar of davidgky
davidgky

asked on

How do you reference passed parameters?

I'm new to Lotus Notes.  On a domino server, how do you reference passes parameters?  Example:
www.somesite.com/file?openagent¶meter1=value

How do I reference parameter1?

Using asp I would say Request("parameter1") or Request.Querystring("parameter1").

Or what if parameter1 was a form element.  How would I reference the posted form element?

Thanks,

davidgky
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Maybe a little more explanation:
Query_String will return the complete query string after the ? in your URL, as it is shown in your address bar.

You can also use Query_String_Decoded to have the query string translated (so spaces are spaces and not '+' ir '%20' for example.

Then to get your parameter, use instr to get the position of the parameter and use mid$ and the likes to parse the query string.

Regards,
JM