hello
i'm starting to use asp and asp.net and i need to get a variable at a
.net page which is redirecting from an asp page
i know how to get the variable at the .net page
("xxx=session("MyVar
but i don't know how to send it from the asp page
please advice me.

Re: how do i post data from asp to asp.net by shuki

shuki
Wed Nov 02 03:02:33 CST 2005

anyone..........
i only want to know how to send information from an asp page


Re: how do i post data from asp to asp.net by Andrew

Andrew
Wed Nov 02 08:38:41 CST 2005

shuki wrote:
> anyone..........
> i only want to know how to send information from an asp page

Response.Redirect("otherpage.aspx?a=" & somevariable)

(maybe with a Server.UrlEncode if needed) and get somevariable back in the
aspx page with:

Dim somevariable as String = Request.QueryString("a")

- check it's value is valid in case some malicious user tries to break your
application.

Andrew