Click to See Complete Forum and Search --> : Passing URL Variables


frank_stain
04-18-2005, 05:19 AM
Quick question

When i click on the view button i want to take the id of that object and pass it to another aspx page that will use the id for some other manipulation

how do i do this

At the minute i have response.redirect(View.aspx&" &cstr(Me.ID))

but i'm really not totally sure how to do it all.

i think this is safer for multiple users that my current way of setting a session variable

Diedtje
04-18-2005, 06:45 AM
to send the variable:
Response.Redirect("View.aspx?ID=" + variable);

To fetch variable in the View.aspx

Request.QueryString("ID");

frank_stain
04-18-2005, 08:09 AM
cheers