Hi Everyone,

I'm sure I'm missing something simple.

I have 2 a5w pages and need to share a javascript variable between them but at a loss at what I'm not doing right

Here's what I have so far:

javascript variable
var MyId = 10
<%a5 session.MyVar = SomeCodeHereButIDontKnowWhat %>

dim projectN as n
projectN = convert_type(MyVar,"n")

If I use session.MyVar=10 (or any number), everything works fine in pg2 but how to get the javascript variable into the session variable in pg1?

I've scoured the forum but haven't found the solution.

Thank you in advance.