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 what does wsdl stand for?

1156


Why do we use asp.net?

1055


Which platform does Microsoft .NET use for exchanging data between applications?

1062


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

1069


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

924


What are the Difference between asp.net and asp ?

1166


What is a 404 redirect?

1067


Define session in asp.net.

993


How do we assign page-specific attributes?

1152


How do you do client-side validation in .net? How to disable validator control by client side javascript?

1039


What is the Intermittent crashing of application in production?

1065


Explain one critical mapping?

1011


Explain About WebService

1147


How to change Master page in ASP.Net using code?

1088


List the major built-in objects in asp.net?

1009