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 the ihttphandler and ihttphandlerfactory interfaces ?

945


In Code-Behind class which kind of code (server or client) is found ?

1061


What is the difference between client-side and server-side validations in ASP.NET?

1182


Do you know about caching with the datasource controls?

896


what is command line compiler.what are the steps and how it is related to debugging.

1891


What are the difference between function and stored procedure in .net programming language?

719


What is caching in asp.net?

1014


What is client side state management?

967


Explain the difference between Web Garden and Web Farm?

1007


What is dynamic web page with example?

967


What is the procedure to create the environment for asp.net? : asp.net mvc

1052


Explain the benefits of viewstate?

1033


To redirect the user to another page which method do we use without performing a round trip to the client?

934


Is redux flux?

960


Define authentication and authorization.

1098