Category - Cookies
28 Dec 2021 28 Dec 2021 0 Comments  6331 Views
Here Mudassar Khan has explained with an example, how to clear a Cookie in ASP.Net MVC Razor.

Cookies cannot be cleared, it can be made to expire by setting its Expiry Date to a Past Date in ASP.Net MVC Razor.
28 Dec 2021 28 Dec 2021 0 Comments  11136 Views
Here Mudassar Khan has explained with an example, how does MVC application get the Cookies from Client in ASP.Net.

In ASP.Net MVC application, a Cookie is created by sending the Cookie to Browser through Response collection (Response.Cookies) while the Cookie is accessed (read) from the Browser using the Request collection (Request.Cookies).
28 Dec 2021 28 Dec 2021 0 Comments  1671 Views
Here Mudassar Khan has explained with an example, how to store data in Cookies in ASP.Net MVC Razor.

This article will illustrate how to store data (value) inside a Cookie and then read the value from Cookie in ASP.Net MVC Razor.
27 Dec 2021 27 Dec 2021 0 Comments  5165 Views
Here Mudassar Khan has explained with an example, how to get (read) Cookie value inside Controller in ASP.Net MVC Razor.

When the Read Cookie Button is clicked, the Cookie value will be read inside the Controller in ASP.Net MVC Razor.
27 Dec 2021 27 Dec 2021 0 Comments  8756 Views
Here Mudassar Khan has explained with an example, how to delete (remove) Cookies in ASP.Net MVC Razor.

Cookies cannot be deleted or removed, it can be made to expire by setting its Expiry Date to a Past Date in ASP.Net MVC Razor.
16 Oct 2021 16 Oct 2021 0 Comments  8009 Views
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 stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net Core Razor Pages.
10 Oct 2021 10 Oct 2021 0 Comments  11634 Views
ASP.Net  Cookies  MVC  Core
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 stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net Core MVC.
07 Oct 2021 07 Oct 2021 0 Comments  6514 Views
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 in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net MVC Razor.
19 May 2020 19 May 2020 0 Comments  24258 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete Cookie using jQuery i.e. remove Cookie from Browser using jQuery.
16 May 2020 16 May 2020 0 Comments  21780 Views
Here Mudassar Ahmed Khan has explained with an example, how to add Cookie using jQuery i.e. set (save) Cookie in Browser using jQuery.
30 Apr 2020 30 Apr 2020 2 Comments  33636 Views
Here Mudassar Ahmed Khan has explained with an example, how to build a simple user Registration and Login forms in ASP.Net MVC Razor.

The user Registration and Login forms will be built using SQL Server Database.

The Database connection and operations for user Registration and Login forms will be performed using Entity Framework in ASP.Net MVC Razor.
20 Mar 2020 20 Mar 2020 0 Comments  14347 Views
Here Mudassar Ahmed Khan has explained with an example, how to permanently keep User Logged in for long period even when browser closed and automatically login the User back when he visits next time using Forms Authentication and Cookies in ASP.Net MVC Razor.

This User Login form and keeping User Logged in functionality will be implemented using Custom Forms Authentication and Entity Framework.
21 Nov 2017 17 Jul 2018 0 Comments  51842 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Cookie based Authentication Login form in ASP.Net MVC Razor.

This article explains Forms Authentication using Forms Authentication Cookie and Entity Framework in ASP.Net MVC Razor.
24 May 2016 03 Jun 2020 2 Comments  98149 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net i.e. reading values stored in Cookies, writing (saving) values in Cookies and also how to remove (delete) Cookies in ASP.Net using C# and VB.Net.
23 May 2016 16 May 2020 0 Comments  34215 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in jQuery i.e. reading values stored in Cookies, writing (saving) values in Cookies and also how to remove (delete) Cookies using jQuery.

The jQuery Cookie plugin will be used to carry out the various functions of reading, writing and removing (deleting) Cookies.