hello all,

this must be pretty simple though i cannot find a way to do this.

basically, i want to define a variable that can then be used by the Subs and functions of the aspx page. not using a session variable, how can i do that?

for instance, i get the variable
VB Code:
  1. Dim EditorHeight As Long
  2. If Request.QueryString("type") = "full" Then
  3.    EditorHeight = 480
  4. End If
and would like to use it on all subs. right now, i put this code in the Page_Load sub but when used in the other subs i get a 'variable not declared' error...

thank you,

wc.