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

Cookie is like a temporary file which contains a name and a
value pair and resides in the client.

cookie prepared or modified by the server side script will
be appended to the response and will be sent to the client.

dim cook as httpcookie
cook=new httpcookie("items")
cook.value=textbox1.text
response.appendcookie(cook).

Is This Answer Correct ?    13 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About duration in caching technique

1063


What are the different method of navigation in asp.net?

1035


What are url fragments?

908


How does exception management works in ASP.NET?

1149


Define viewstate in .net?

956


Define web.config in .net?

1075


What are asp.net web forms?

1015


Which two new properties are added in asp.net 4.0 page class?

930


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

1084


what is DLL Hell and how it is solved in .NET? please explain clearly??

2374


Using code explain Configuration Management

1987


Explain cookies with example.

1012


How does windows service lifecycle differ from a .standard. Exe?

1035


Can we have multiple web config files for an asp.net application?

980


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

1044