Session variable

Session variable

Session variable

I have an asp page showing results in a list view. I have a link on each row to a detail page which works fine.. I am trying to pass a session variable at the same time from a field in the selected row but the session variable only contains the value from the last row and not the selected row, any help much appreciated. Thank you in advance. He's

RE: Session variable

That depends on how your code is setting the session variable value. ASP does not 'know' what you are clicking on in your browser, so you will have to use javascript to set a value possibly in 'hidden' variable when you 'check' the box.

OR your code has to test for which boxes are checked, to do this all the check boxes should have the same name so the values will be passed as a comma separated string of the checked boxes.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.