Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Redirect and Session Variable 1

Status
Not open for further replies.

sila

Technical User
Aug 8, 2003
76
0
0
GB
Hi

Can anyone tell me if you can use session variables to do response.redirect? Im storing an id in the one below but keep getting - "comma, ')', or valid expression continuation expected" on the elecid part?

Me.Response.Redirect("hwelection.aspx?id= Session.Item("elecid")

Thanks
 
yes you can do that...
Code:
Me.Response.Redirect("hwelection.aspx?id= " & Session.Item("elecid"))

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top