'<%=Session["key"] = "Some Value" %>';
It works. What I can't do is use a client-side variable instead of a literal string. If I break up the inline expression in any way, I end up with a syntax error. Can this be done?
There is probably a more elegant way, but I can't think of it right now.
Sorry, I managed to resolve this one about 30 minutes after posting and forgot to come back and say so.
I did end up using a hidden field.
This topic is now archived. It is frozen and cannot be changed in any way.