What is the syntax to call a session variable within a query within ASP.NET?
Trying something like this (Request is not working)
<script>
Dim Var1 AS String
Var1 = Session("Varone")
Session["Varone"] = "apples";
</script>
The query
SELECT test.field1
FROM testtable
WHERE navigation.var1 = N'<%=Request.session(varone) %>'
Trying something like this (Request is not working)
<script>
Dim Var1 AS String
Var1 = Session("Varone")
Session["Varone"] = "apples";
</script>
The query
SELECT test.field1
FROM testtable
WHERE navigation.var1 = N'<%=Request.session(varone) %>'