Buy Questpond's video subscriptions on
huge discount
.
Online: 2211
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET
>
Loading ...
How many types of cookies are there in ASP.NET ?
Posted by
Majith
on 7/24/2008 | Category:
ASP.NET Interview questions
| Views: 31705
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
1. Single valued
request.cookies(”dotnetfunda”)=”Sheo”
2. Multi valued
request.cookies(”donetfunda”)(”uname”)=”MAJITH?
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
what is the diff between a HAVING CLAUSE and a WHE ...
Next > :
Types of Errors ?
Comments or Responses
Posted by:
Charan
on: 12/5/2010 |
Points: 10
they are 2 types of cookies.
1)Session Cookies & 2) Peristance Cookies
Posted by:
Abhishek1950
on: 4/13/2012 |
Points: 10
• In-memory cookies: An in-memory cookie goes away when the user shuts the browser down.
• Persistent cookies: A persistent cookie resides on the hard drive of the user and is retrieved when the user comes back to the Web page.
If you create a cookie without specifying an expiration date, you are creating an in-memory cookie, which lives for that browser session only. The following illustrates the script that would be used for an in-memory cookie:
Response.Cookies("SiteArea") = "TechNet"
The following illustrates the script used to create a persistent cookie:
Response.Cookies("SiteArea") = "TechNet"
Response.Cookies("SiteArea").Expires = "August 15, 2000"
Login to post response
More Interview Questions by Majith
Types of Errors ?
What event handlers can I include in Global.asax?
What are the remotable and non-remotable objects in .Net Remoting.
Describe the type of remotable objects in .Net Remoting.
Describe the term Channel in .Net Remoting
What is Code group?
What happens if you inherit multiple interfaces and they have conflict ...
What class is underneath the SortedList class?
Latest Interview Questions
How to convert an ArrayList into an Array?
How to convert an Array into an ArrayList?
How to get the authentication mode from web.config file programmatical ...
How to clear the last error occured in the application?
How to retrieve the last error occured in the application?
How to load a user control dynamically in runtime?
What are the validation controls in asp.net?
Which two properties are on every validation control?
More ...