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 can you provide an alternating color scheme in a Repeater control?

1 Answers  


What is microsoft windows sharepoint services?

0 Answers  


Is LINQ performance wise better or using sqlcommand?

1 Answers  


How does session work in asp net?

0 Answers  


List some of the important session state modes of asp.net.

0 Answers  






Can a master page inherit another master page?

13 Answers   Emphasis, IBM, NIIT, Sebiz Square,


Explain how to prepare culture-specific formatting in .net.

0 Answers  


What is asp.net response object?

0 Answers  


What is mvc in asp.net interview question? : Asp.Net MVC

0 Answers  


Why is it important to maintain session state?

1 Answers  


What is the difference between managed and unmanaged code? *******

2 Answers   Patni,


What is session mode in asp.net?

0 Answers  


Categories