IS IT POSSIBLE TO SET TIME FOR COOKIES?HOW IT IS POSSIBLE.



IS IT POSSIBLE TO SET TIME FOR COOKIES?HOW IT IS POSSIBLE...

Answer / anwar sadat.a

Yes,
Request.Cookies["UserCoook"].Expires = DateTime.Now;

Likewise we can able to set time fro cookies

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

0 Answers   Siebel,


Where is the view state data stored in asp net?

0 Answers  


What are the advantages and limitations of query string?

0 Answers  


Define secured sockets layer.

0 Answers  


What are the advantages of asp.net mvc framework? : asp.net mvc

0 Answers  






Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

0 Answers  


Difference between abstract class and interface

2 Answers   Fidelity,


How many types of session in asp.net2.0

28 Answers   ABC, DOT, First Europa, HCL, iRely, TCS,


How To Send Value one page to Another Page On MasterMenu Click ? please Tell Me!

3 Answers   Accenture,


Why Unload event of MasterPage Calls first in ASP.net ?

0 Answers   HCL,


How to send auto matic emails based on scheduled tasks to several of my clients

6 Answers  


Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process?

1 Answers   Patni, Perot Systems, Sedna Technology,


Categories