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 / laki

we can create a permanent cookies giving the expiry date .
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 ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Session state management options in ASP.NET.

1068


What are the merits and demerits of viewstate?

1020


What are tuples?

1110


How do I publish my asp.net application to my isp's web server?

1060


What is a user session?

879


What are the different types of proxy patterns?

1134


What is Model-View-View Model?

1000


Mention few asp.net validators.

991


How ViewstateMac works?

2817


Explain about secure socket layer?

934


What is the difference between table and query?

960


Explain how cookies work.

1030


How can we identify that the page is post back in asp net?

925


Can you set the session out time manually?

872


If you want to write your own dot net language, what steps you will you take care?

1059