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

<%
Response.Cookies("username") = "you"
Response.Cookies("username").Expires = Date.MaxValue
%>

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by ispostback in asp net?

1042


What is the base class from which web forms are inherited?

992


Why do we use sessions?

978


What is an imagemap in asp.net?

1113


How do you identify that the page is postback?

911


Can you explain autopostback?

969


What are the various types of cookies in asp.net?

999


Explain managed code an un-managed code.

1004


How is application management and maintenance improved in asp.net 2.0?

981


What is the advantage of mvc over asp.net? : Asp.Net MVC

965


What is cookies in asp net?

927


How would you enable impersonation in the web.config file?

973


What is an il?

1001


Do cookies store passwords?

909


What is the difference between session and application?

940