ASP.Net MVC Cookies: Read, Write (Save) and Remove (Delete) Cookies in...
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net MVC Razor. This article will also explain how to perform operations on Cookies i.e. reading values stored...
View ArticleASP.Net Core Cookies: Read, Write (Save) and Remove (Delete) Cookies in...
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net Core MVC. This article will illustrate how to perform following operations on Cookies i.e. reading values...
View ArticleUsing HttpContext in ASP.Net Core Razor Pages
Here Mudassar Ahmed Khan has explained why HttpContext.Current not working in ASP.Net Core Razor Pages and what is the alternative solution for using the functionality in ASP.Net Core Razor Pages....
View ArticleASP.Net Core Razor Pages: Read, Write (Save) and Remove (Delete) Cookies
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net Core Razor Pages. This article will also explain how to perform operations on Cookies i.e. reading values...
View ArticleASP.Net MVC: Get Session value in Controller
Here Mudassar Ahmed Khan has explained with an example, how to get Session value inside Controller in ASP.Net MVC Razor.
View ArticlePass (Send) Session value from one Controller to another Controller in...
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Session value from one Controller to another Controller in ASP.Net MVC Razor.
View ArticleGet Session value in JavaScript or jQuery in ASP.Net MVC
Here Mudassar Ahmed Khan has explained with an example, how to get Session value in JavaScript in ASP.Net MVC Razor. JavaScript is a Client Side language and hence directly it is not possible to get...
View ArticleDisplay (Show) TextBox value in Alert using jQuery
Here Mudassar Ahmed Khan has explained with an example, how to display TextBox value in JavaScript Alert Box using jQuery. When the Button is clicked, the TextBox value is displayed in the JavaScript...
View ArticleASP.Net: Get HttpContext.Current.Session value in JavaScript or jQuery
Here Mudassar Ahmed Khan has explained with an example, how to get HttpContext.Current.Session value in JavaScript or jQuery with ASP.Net. Session object or Session variable is stored on Server and...
View ArticleUsing WHILE LOOP in SQL Server
Here Mudassar Ahmed Khan has explained with an example, how to use WHILE LOOP in SQL Server (Transact-SQL). The WHILE statement as used in various programming languages works in similar way in SQL...
View ArticleEnable Session in ASP.Net Core
Here Mudassar Ahmed Khan has explained, how to enable Session in ASP.Net Core. By default, Session State is disabled in ASP.Net Core applications i.e. ASP.Net Core MVC and ASP.Net Core Razor Pages....
View Article[SOLVED] Session has not been configured for this application or request
Here Mudassar Ahmed Khan has explained, how to solve the following error in ASP.Net Core. System.InvalidOperationException: Session has not been configured for this application or request. The above...
View ArticleHttpContext.Current.Session in .Net Core
Here Mudassar Ahmed Khan has explained, how to access HttpContext.Current.Session in .Net Core application. Unlike previous ASP.Net applications, the Session object is not available under the...
View ArticleSet Session Timeout in ASP.Net Core
Here Mudassar Ahmed Khan has explained, how to set Session Timeout value in ASP.Net Core application. Unlike previous ASP.Net applications, the Session Timeout value is set inside the Startup.cs class...
View ArticleGet and Set Session object (variable) in ASP.Net Core
Here Mudassar Ahmed Khan has explained with an example, how to get and set Session object (variable) in ASP.Net Core MVC.
View ArticleASP.Net Core: Destroy / Delete / Remove Session object
Here Mudassar Ahmed Khan has explained with an example, how to destroy, delete or remove Session objects in ASP.Net Core MVC.
View ArticleASP.Net Core: Display (Access) Session object inside View
Here Mudassar Ahmed Khan has explained with an example, how to display or access Session object inside view in ASP.Net Core MVC.
View ArticleGet Session ID in ASP.Net Core
Here Mudassar Ahmed Khan has explained with an example, how to get Session ID in ASP.Net Core MVC.
View ArticleUsing Session inside Controller in ASP.Net MVC
Here Mudassar Ahmed Khan has explained with an example, how to use Session inside Controller in ASP.Net MVC Razor. This article will illustrate how to set values in Session object and retrieve values...
View ArticlePrevent (Avoid) Duplicate (Double) record insert into Database in ASP.Net
Here Mudassar Ahmed Khan has explained with an example, how to prevent (avoid) duplicate (double) record insert into SQL Server Database in ASP.Net using C# and VB.Net.
View Article