Click here to Skip to main content
15,914,323 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
After making changes in web.config for sessionMode, proving all attributes for stateserver, I re-compiled and deployed my web site. Now I have code in Session_OnStart event, but that event is not firing at all.

Do I need to do something extra while changing sessionMode from InProc to stateserver/sql server?

Any other possible reason for this issue?
Posted

1 solution

Session_OnStart event works fine in "StateServer" mode, your problem is elsewhere.

In a load-balanced application (WebFarm) you have to make sure all applications use the same <machinkey> setting, but this is not an issue here.

Are there any errors? What are you doing in Session_OnStart event?
 
Share this answer
 
Comments
tgurinder 14-May-12 8:16am    
I am updating one field in user's profile information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900