Click to See Complete Forum and Search --> : redirect querystring including session value


alxtech
07-13-2007, 01:06 PM
I have to do a redirect with a querystring depending on a value store in a session, how can i include this value into the query string.
this is the code:

Session("graNum") = Request.QueryString("GrantNum")

Response.Redirect("page.asp?cmd=2&AwardNum=Session("graNum")")

i cannot get the correct syntax to include the session value into the querystring.

thank you for your help.

gil davis
07-13-2007, 02:08 PM
Response.Redirect("page.asp?cmd=2&AwardNum=" & Session("graNum"))

alxtech
07-13-2007, 03:10 PM
great help, thank you very much, it works now.