Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a proxy in web service?

1081


Is there any alternative to avoid name collisions other then Namespaces?

1120


What are sql joins?

1004


To redirect the user to another page which method do we use without performing a round trip to the client?

937


What is difference between abstract class and an interface?

952


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

983


how to write html code with ssl

2123


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.

1829


What are the Types of state management techniques

1033


What is csrf attack in asp.net?

1035


When cookie will expire?

1001


Explain the asp.net session state modes.

1077


What parameters can you pass in the url of the api? Can get and post use the same url?

999


Explain the difference between debug.write and trace.write? When should each be used?

1013


What is asp.net architecture?

1008