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

Which authentication uses a combination of windows and iis authentication?

0 Answers  


What is localhost in asp.net?

0 Answers  


What is authentication in asp.net?

0 Answers  


What are the different authentication modes in the .NET environment?

2 Answers   Veritas,


wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?

1 Answers  






How many languages are supported by .NET at present time?

0 Answers  


What?s a bubbled event?

1 Answers  


What is a 1x1 pixel?

0 Answers  


How do you create master pages in asp.net?

2 Answers   Wipro,


What is asp.net version?

0 Answers  


is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it possible

3 Answers  


How Response.flush works in server.Execute ?

1 Answers   Keane India Ltd, TCS,


Categories