Interviews - C# Corner

Akash Varshney
How can you create a permanent cookies .?
By Akash Varshney in ASP.NET onOct 04 2015
  • Keerthi Venkatesan
    Apr, 2016 11

    Permanent cookies are available until a specified expiration date, and are stored on the hard disk.So Set the 'Expires' property any value greater than DataTime.MinValue with respect to the current datetime. If u want the cookie which never expires set its Expires property equal to DateTime.maxValue.

    • 2
  • Akash Varshney
    Oct, 2015 4

    We need to set Expires property to min value ..that means cookies never Expires .

    • 1

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS