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 the mvc model?

960


What is difference between session and cookie?

943


How do u deploy your asp.net application?

1003


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

972


What is cookies cache and session?

902


Can you use c# without .net?

923


What's the ASP.Net Application life cycle?

1033


What is a server cookie?

949


What is css and what is it used for?

944


How can we provide the WebParts control functionality to a server control?

941


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

982


What is the use of HttpHandlers? When to use this?

1058


Explain the difference between server control and html control.

870


What are the file extensions for razor views?

1094


Explain the use of fragment caching.

1024