Posted by :  Anwar Hossain
Category  :  State Management in ASP C #

How to Pass Query String parameter From DataList


Dear viewers in this tutorial I will explain how to pass Query-string parameter one page to another page from ASP.Net DataList Control . I have used HyperLink Control to bind data from DataList Control and used it’s NavigateUrl Property to Pass Query String parameter to other page.

Query String parameter From Data-list

See Details
Posted by :  Anwar Hossain
Category  :  State Management in ASP C #

Query String Example in ASP.NET C#


Dear viewer's in this tutorial I will explain how to use query string for passing information one page to another page in ASP.Net C#. Browser URL is common way for passing information.In this example I have used Response.Redirect() Method and for getting the query string Request.QueryString() method has been used.

Query String Example in ASP.NET C#

See Details
Posted by :  Anwar Hossain
Category  :  State Management in ASP C #

How to increase session time in ASP.Net C#


Dear viewer's in this tutorial I will explain how to increase session time in ASP.Net C#. Generally we store username and password in session to move one page to otherpages. If we do not set session time suddenly Logout can be happened after 20 minutes because By default websites session timeout is 20 mines but we can increase our session time three different ways. In this situation I will show increaseing session time using web web.config.we need to change the timeout attribute for Session-state in the web.config file.

increase session time in ASP.Net C#

See Details
Posted by :  Anwar Hossain
Category  :  State Management in ASP C #

stroe datatable in session retrive display session vlaues in ASP.Net C #


Dear viewer's in this tutorial I will explain how to store datatable in session and can be retrived and displayed this session vlaues in ASP.Net C # as requirment. In this example I have created a datatable and after filling data to datatable then I have stored datatable in session .For clear undestanding I have also used a gridview to display the session vlaues.

store datatable in session retrive to display

See Details
Posted by :  Anwar Hossain
Category  :  State Management in ASP C #

How to clear Session state in ASP.NET C#


Dear viewer's in this tutorial I will show how to clear session in asp.net c #. There are various way to clear session .For clear session we can use Clear() and Abadon() methods. When we want to clear occupied memory location then we need to use Session.Abandon methods. But When we want to clear only Session values then we need to use Session.Clear() Methods.if we destroy particular session we need to use Remove Method.

Clear Session state in ASP.NET C#

See Details
Posted by :  Anwar Hossain
Category  :  State Management in ASP C #

Session state in ASP.NET C#


Dear viewer's in this tutorial I will explain about session state in ASP.NET’ C #. Session allows to store any type of data in memory on ther server.Session Information is more Proted and reliable for security purpose .Session information is not transferred to the client and it can be identified uniquely for individual client.Best example of session is shopping cart. The most important thing to remember that session value is always move one page to another page as necessary. In this tutorial I have taken two pages one for inputting session value and another for displaying session value. When user click user Log In the User Name and Password will be stored to the sessions and displayed another page.

Session state in ASP.NET C#

See Details



Recent Article Headline

Article Category

Recent Article Category