Hi,
I wondered if someone could assist with a query I have ? Using asp.net 1.1 and
vb.net 2003, I want to set up some hyperlinks on a page. Within these hyperlinks I want to assign a different value to each hyperlink so that when each link is clicked on, a function will display a list of items dependent upon which hyperlink and associated value is selected.
After clicking on the hyperlink, the person is then re-directed to another page. Now how can I set the value on the first page and then pass that value onto the second page ?
I thought of the following :
Set the value e.g. <a id="activebass" href="activebass.aspx">
Then I thought I would pass this value by the session object. So I used something like this :
Dim id As String
Session("LinkID") = id
However when I try to write out this id value on the next page, nothing appears - so the above code is failing.
How can I reference the hyperlink value id "activebass" given this is not working ? Can you pass more than one value via the session object as I already use the Session object to pass a CartID value and can you pass strings ?
Can anyone advise where I seem to be going wrong ?
Thanks,