How do you create a permanent cookie?

Showing Answers 1 - 3 of 3 Answers

Binda Joshi

  • Mar 10th, 2005
 

Making a persistent cookie(Permanent)Dim Objcookie as new HTTPCookie("Mycookie")Dim Date as Datetime = Datatime.nowObjcookie.Expires = now.addhours(1)

  Was this answer useful?  Yes

Binda Joshi

  • Mar 10th, 2005
 

Setting the Expires property to MinValue means that the Cookie never expires.

  Was this answer useful?  Yes

laxmi narain

  • Apr 5th, 2005
 

seeting the Expires Property to date less than todays date

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions