How to create a permanent cookie?



How to create a permanent cookie?..

Answer / swetha

set expires property to Date.max value

i.e httpcookie.Expires= Date.maxvalue

Is This Answer Correct ?    26 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How do I send e-mail from an ASP.NET application ?

1 Answers  


Define caching.

0 Answers  


Explain about asp.net 2.0 themes?

0 Answers  


What parameters can you pass in the url of the api? Can get and post use the same url?

0 Answers  


Describe session handling in a webfarm, how does it work and what are the limits?

0 Answers   Siebel Systems,






How to limit table cell size with long strings?

1 Answers   IBS,


Write a code for "RequiredFieldValidator" in java script

5 Answers   Wipro,


What is smpte vc-1?

0 Answers  


How many types of session in ASP.NET

0 Answers   MCN Solutions,


Is asp.net different from asp? If yes, explain how?

0 Answers  


Is string a value type or a reference type?

13 Answers  


Which protocol is used to call a web service?

0 Answers  


Categories