Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you create a permanent cookie?

Answer Posted / bhim bharti

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql joins?

933


What is the difference between runtime version and version?

976


Why do we need master page in asp.net?

901


What do you mean by authentication?

1016


What is application Object?

985


Why is xap important?

947


What is query string with example?

900


Explain the concept of MVC Scaffolding?

960


What is asp.net with mvc? : Asp.Net MVC

932


What is data caching?

920


Explain Life cycle of ASP.NET page when a request is made.

1173


Why we use asp.net for website development?

853


Explain the difference between singleton and single call?

932


What is the main differences between asp and asp.net?

1006


Does asp.net still recognize the global.asa file?

1018