How do you create a permanent cookie?
Answer Posted / naseem malik
If You want to Create a parament Cookies. you Permanent cookies are available until a specified expiration date, and are stored on the hard disk.So Set the 'Expires' property any value greater than DataTime.MinValue with respect to the current datetime. If u want the cookie which never expires set its Expires property equal to DateTime.maxValue.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can we implement a identity (sql server) call in an asp.net page?
Explain the overview of asp.net?
Can the dictionary object be created in client?s scope ?
Difference between Response.redirect vs server.transfer?
How to set the pane area to transparent of a scrollPane component.?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
What are assemblies and namespaces and explain the difference between them ?
How to disable validator control by client side JavaScript?
Differentiate between client-side and server-side validations in web pages.
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
What is ascx?
Explain a program using code nuggets to create a simple application? : asp.net mvc
What is a pixel url?
What are the asp.net list controls and difference between them?