IS IT POSSIBLE TO SET TIME FOR COOKIES?HOW IT IS POSSIBLE.
Answer Posted / anwar sadat.a
Yes,
Request.Cookies["UserCoook"].Expires = DateTime.Now;
Likewise we can able to set time fro cookies
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is a proxy in web service?
Is there any alternative to avoid name collisions other then Namespaces?
What are sql joins?
To redirect the user to another page which method do we use without performing a round trip to the client?
What is difference between abstract class and an interface?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
how to write html code with ssl
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What are the Types of state management techniques
What is csrf attack in asp.net?
When cookie will expire?
Explain the asp.net session state modes.
What parameters can you pass in the url of the api? Can get and post use the same url?
Explain the difference between debug.write and trace.write? When should each be used?
What is asp.net architecture?