|
INTERVIEW QUESTIONS
MICROSOFT
ASP.NET
DETAILS
Question: How to create a permenent cookie
Answer: The permanent cookie is created the same way the normal cookie is created. To create a permanent cookie you have to specify a date in the future. Like,oHeader.AddCookie('userid',lcID,'/wconnect','NEVER') where NEVER is converted to a date in future.
|
|
|
Category |
ASP.NET Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7008 users |
Added on |
7/27/2011 |
Views |
69394 |
Rate it! |
|
|
Question:
How to create a permenent cookie
Answer:
The permanent cookie is created the same way the normal cookie is created. To create a permanent cookie you have to specify a date in the future. Like,oHeader.AddCookie('userid',lcID,'/wconnect','NEVER') where NEVER is converted to a date in future. Source: CoolInterview.com
by using Expires property we can create Permanent cookie. Source: CoolInterview.com
Answered by: vennela | Date: 2/4/2009
| Contact vennela
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
one aplication have 50 pages out of 50 , 5 pages shouldn't ask user name and password other 45 should ask user name and password?how will you write the code in web.config?
|
View Answer
|
|
Is there any difference between Form Post and PostBack.If yes What is the difference?
|
View Answer
|
|
How to create components?and what is difference between assembly and component in dot net?
|
View Answer
|
|
What is a view state?Can Dataset be stored in view state?Does datagrid has a view state?
|
View Answer
|
|
Is xml plays any role in ado.net architecture?
|
View Answer
|
|
How a grid can be made editable int ASP.Net? How to Access a particular cell of Grid? What is the difference between datagrid and datalist?
|
View Answer
|
|
How to update the data in dataset
|
View Answer
|
|
Where can we save cashed data and session data
|
View Answer
|
|
Difference between DataList and Repeater?
|
View Answer
|
|
What is the difference between inline coding & code behind.
|
View Answer
|
|
Which Validation Control Should I use to select at least one value in Dropdown List control
|
View Answer
|
|
What is AutoWiredUp=false in PAGE directive in ASP.NET? Microsoft documentation says default value for AutoWiredUp is TRUE, but in reality it is FALSE by default whenever we add new web page. What is it actually?
|
View Answer
|
|
Why we need both server controls and html controls in asp.net. what is the difference between them?
|
View Answer
|
|
Can anybody tell me how to fire the textchanged event of texbox inside the grid?
|
View Answer
|
|
Whats the diffrence between Custom Control and a User Control?
|
View Answer
|
|
How do you debug an ASP.NET Web application?
|
View Answer
|