Wednesday, April 30, 2008

A little note on setting Session Variables

If you get the following error message when trying to set a session variable...

"An object reference is required for the nonstatic field, method, or property 'System.Web.UI.Page.Session.get'"
...make sure that the method is not 'static'

No comments: