Sending it is no problem - - after your basic page url (yourpage.aspx), just
add a question mark, then an assignation of value to variable
(id=126)
if there are multiple querystrings, just separate them with ampersands:
yourpage.aspx?id=126&fname=david&lang=aspnet
Then, on the receiving page, create global variables, for the incoming data
(something like:
Dim sId as string
Dim sFname as string
Dim sLang as string
in your Page_load event:
sId=request.Querystring("id")
sFname=request.Querystring("fname")
sLang=request.Querystring("lang")
Then, in your page, use your variables(sID, sFname, and sLang) anywhere and
however you'd like
David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com http://aspexpress.com
"Eje" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@phx.gbl...
Hi,
I'm building an application where other companies
redirect users to our application. I need the redirecting
company to attach a code telling me who is redirecting.
I've seen url:s with a querystring at the end. That would
suite me fine but how do I send such a message and how do
I catch the message when the user is redirected to our
homepage?
Eje