[Mono-list] About ASP.NET and server-side-objects

Gonzalo Paniagua Javier gonzalo@ximian.com
29 Dec 2002 15:24:16 +0100

El vie, 20-12-2002 a las 23:49, yoros@wanadoo.es escribió:
> Hello,
> I'm starting to programming with .aspx web pages and I would know how
> can I declare/define a class or struct and use it in the following calls
> to one page (for example, one personal "list" that I can fill with user
> data...).
> I saw the server-side-object.aspx example/test but it don't works (I
> think the problem is related to class definition and in the traduction
> level because generates bad c# code.

That sample works fine. What you're looking for has to be done in the
global.asax file. Read the documentation about application level events.