Session data is lost

P

Po

I am using Windows authentication on the IIS server,
ASP.NET impersonation turned off. In the code I use the
impersonate function to impersonate the web user to access
SQL server. I can get all the results back in a
datagrid. But the session information is lost when I
click on the datagrid columns to sort the data. I am
using InProc session mode. Another thing is that every
time a new browser window that connects to my website runs
Application_OnStart event handler. I thought it was
suppose to run once per asp.net application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,200
Latest member
LaraHunley

Latest Threads

Top