How to setup sessionState with SQL Server mode on Amazon RDS
I have asp.net app and I’m going to store my session in SQL Server. I’m using Amazon RDS (Microsoft SQL Server Express Edition). I am using local db for testing and its works well there.
I have asp.net app and I’m going to store my session in SQL Server. I’m using Amazon RDS (Microsoft SQL Server Express Edition). I am using local db for testing and its works well there.
I have a method on a page marked as a [WebMethod] that uses some session state as part of its operation. After I wrote this code, I suddenly had a flash of memory that you need to use EnableSessionState when you use session state in a [WebMethod] (e.g. see here: http://msdn.microsoft.com/en-us/library/byxd99hx.aspx). But it seems to be working fine. Why?
i just want to redirect user to Home Page(Default.aspx) when session has been expired in asp.net 3.5.
i just do it with web user control but steel it’s not work perfectly. so i just want to do it with web.config.
I have a WCF web service that uses ASP.NET session state. WCF sets a read-write lock on the session for every request. What this means is that my web service can only process one request at a time per user, which hurts perceived performance of our AJAX application.