Tuesday, November 17, 2015

How to configure SQLServer session state in asp.net IIS

How to configure Sql server session state in IIS.

IIS - We have 4 Session modes in Asp.net to maintain session states.

1.Inproc
2.State server
3.Sql server state
4.Custome state

In this explained Sql server session state.



Tuesday, November 12, 2013

Adding Dynamic controls using jquery in Asp.net

$(function(){
$("#btnAdd").click(function(){
 var DynamictextBox=$('<input/>').attr({ type : 'text', name: 'text' , value : 'text' }).addClass("text") ;
$('#controlDiv').append(DynamictextBox);
});
});

Tuesday, November 20, 2012

Cookie less Sessions in asp.net 4.0

 In ASP.NET we are using cookies for saving Session ID, for this we need to check the tag in web.config file
<sessionstate cookieless="false">
 Default is False. Session IDS saves in Cookies.

if we use <sessionstate cookieless="true"> here we are using URL for saving session IDS of sessions in 
asp.net.