.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

About cookies?

Posted By :Mallikarjuna Chigicherla     Posted Date :August 04, 2010    Points :10   Category :ASP.Net 
20 cookies per domain
->Max 300 cookies can be stored on the user's system
->Max Cookies Size 4 kilobytes


You can also find related Interview Question to About cookies?  below: 

How do you turn off cookies for one page in your site?

  
Use the Cookie. Discard Property which Gets or sets the discard flag set by the server. When
true, this property instructs the client application
not to save the Cookie on the users hard disk when a session ends.
Or
it can be turned off by mentioning cookie state= false in web.config file (More...)

How do you turn off cookies for one page in your site?

  
By setting the Cookie. Discard property false. (More...)

How do you turn off your cookies for one page on your site?

  
It can be Turn Off by mentioning Cookies state=false in Web.Config file (More...)

Which might not work if a user has disabled cookies in his or her Web browser: application state or session state?

  
Session state, by default, won't work if a Web browser that supports cookies has cookies disabled. Application state isn't user-specific, though, and doesn't need to be tracked in cookies. Therefore, application state works regardless of cookies. (More...)

Which might not work if a user has disabled cookies in his or her Web browser: application state or session state?

  
Session state, by default, won't work if a Web browser that supports cookies has cookies disabled. Application state isn't user-specific, though, and doesn't need to be tracked in cookies. Therefore, application state works regardless of cookies (More...)

Is it possible to create cookies with keys? Explain using some example.

  
Yes, it is possible to create cookies with keys.
Cookies is a dictionary at the time of initialization, if key is specified with it. (You can determine whether cookie is dictionary or not using HasKeys property. )
For an example:

Response.Cookies("Testcookie")("key1") = "key1"
Response.Cookies("Testcookie")("key2") = "key2"

After this if you make assignment like,
Response.Cookies("Testcookie") = "noKey"
Then," key1" and "key2" of cookie("Testcookie") will be deleted. (More...)

If cookies is disabled in client browser will session work ?

  
If cookieless is true it will work. If it is not, it won't work. (More...)

How to Kill the cookies in a page?

  
To kill the cookies in a page use
Cookies.Discard() (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend