This is what i have:
(from page1.asp...)
<%
for i = 0 to (session("icount") - 1)
response.write("<tr>")
response.write("<td><a href='page2.asp')> ")
response.write(companyname(i) + "</a></td>"
next
%>
The user will be presented with a list of companies. WHen the user clicks on a company name, they will be directed to page2.asp.
I have a session variable Session("ID") that needs to be populated with the ID of the corresponding company name that is clicked by the user. Page2.asp needs to process Session("ID") so that it can display information from the DB relating to the compnay that was selected.
How do I store the corresponding ID when the user clicks on a link from the list?