page event when using page methods?
<p>I have the following that I'm using in every page:</p>

<pre><code>public partial class Pages_MyPage : System.Web.UI.Page
{
   ViewUserPreferencesModel TheUserPreferences;

   Protected void Page_Load(object sender, EventArgs e)
      {
      TheUserPreferences = (ViewUserPreferencesModel)Session["SessionUserPreferences"];
</code></pre>

<p>And then I use a Page Method like this:</p>

<pre><code>[WebMethod]
public static string GetAppointements(string DateInput)
{
   ViewUserPreferencesModel TheUserPreferences = (ViewUserPreferencesModel)HttpContext.Current.Session["SessionUserPreferences"];
</code></pre>

<p>My question is this: Do I need to include the statement that loads user preferences when I run the page method or are the statements in the Page_Load event triggered when the page method is called, and if they are, will the variable be populated?</p>

<p>Thanks.</p>
