For now you are just testing that you don't see an exception that is raised
in this event.
What if you set a session variable in this event as well as in the page you
are hitting (another one plus display the one you set in session_start).
Also do the same in other events (for example create an application variable
in session_end, another one in Applicatino_Start etc... and use
session.abandon to trigger this event).
This is to check that :
- session variables are working fine (as well as application variables)
- wether other events (and perhaps session_end) are working
From there we should be able to check sucessively if this is a problem with
sessions, with the global.asax not being taken into account or just with
this event.
--
Patrice
"greg" <gr**@no.spam.newsa écrit dans le message de news:
ed*************@TK2MSFTNGP06.phx.gbl...
Yes, it is an application
And sessionstate is enabled.
I resorted to throwing an exception in the session_state
nothing happens on production server
In fact we have two production servers that do exactly the same thing
but not my development server
"Patrice" <http://www.chez.com/scribe/wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>And the other post said ? Have you checked in the IIS "Home directory"
tab, "Application settings" section that the application is created (that
is the button is "Remove" instead of "Create") and that session state is
enabled for this application ("configuration" button, "Options" tab).
Also what do you do in this event ? (imo for a test the simplest would be
just to set a session variable with the current date/time, this is to
make sure the diagnostic is correct).
--
Patrice
"greg" <gr**@no.spam.newsa écrit dans le message de news:
uV**************@TK2MSFTNGP03.phx.gbl...
>>Written in Asp.Net 2.0
The session_start fires on Development server running withing Visual
Studio 2005
and also if access web site via localhost on development machine.
But if copy to development machine event does not fire
I created a barebones webapplication not website and put code in
session_start
will not fire
I have seen another post about this, but no resolution was found.