How do you create a permanent cookie?
Answer Posted / laki
we can create a permanent cookies giving the expiry date .
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 ? | 7 Yes | 8 No |
Post New Answer View All Answers
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is the use of placeholder control?
What are sessions and cookies?
Is viewstate secure?
COM+ Used ________________ Isolation Level
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Which class is used to send an email message from an ASP.NET Web page?
What is viewstate in asp net with example?
Why session management is required?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What type of code, client-side or server-side, is found in a code-behind file of a Web page?
What are the cookies types in asp.net?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Write the different features of a Thread and a Process?