I tried the following but couldn't get it to work.
In my main page (we'll call it mypage.asp) I have the following code
strPITagname = "opcLab-19"
I then test that it contains a value on this page by the following code which displays the correct value opcLab-19
Then in my mypage_data.asp I have the following
and then go on to use the Tag variable in my SELECT query. Problem is I don't believe that the session variable is being carried over to this page? ...I know that the select query works because if I replace
then the chart loads correctly.