I am trying to add a session level object to a site. The documentation
mentions that you can do this with a line like this:

<object runat=""server" id="globalQuestioneer" class="Questioneer"
scope="Session" />

I added that to my global.asax file. My questions are:

1. Can I do this from the VS IDE? (I did it using a text editor for a lack
of better solution)

2. How can I access this object. While the documentation says it just
works, I can not get it to work.

3. If instead I add a static memeber to my code-behind file (i.e.
global.asax.cs), is it allication scoped or session scoped? I am guessing
its app scoped (as it is a static) and I need a session level object.

Thanks for your help,

Noam

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to