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 advantages of asp.net?

980


What is asp according to you?

1028


What is the use of response redirect in asp.net?

1044


How long should a session id be?

1005


What is the importance of Global.asax in ASP.NET?

1122


Explain Areas in MVC?

1076


What is server side routing?

904


What is ascx?

950


How does session work in asp net?

1044


Differentiate between early binding and late binding.

1072


Explain automatic memory management in .net.

1008


How ASP.NET page works?

1082


How Can assign alias name for ASP.NET Web API Action?

1436


How do cookies work?

975


How do u deploy ur project?

2667