|
 |
asp_databases thread: Cookie....?
Message #1 by "SD-Studios" <info@s...> on Sun, 14 Jul 2002 15:24:50 +0200
|
|
I thought I should use a cookie, so that each user only can do a post to the
database every 10 minutes.. How do I set the cookie to expire within 10
minutes..? Thanks! =)
--
MVH, Martin Johansson
CEO & Project Supervisor
SD-Studios, Squaremedia HB
+46 (0)70-3003320
http://www.sd-studios.com
http://www.swehost.com
Message #2 by "Chirag Shah" <chiragiit@y...> on Sun, 14 Jul 2002 16:04:06
|
|
Try this:
Response.Cookies(cookieName).Expires = DateAdd(("S", 30, Now))
Let me know whether it works or not.?
Chirag Shah
Web Application Programmer
e. Solutions LLC
177 W. Hintz Road
Wheeling IL 60090
Message #3 by "Chirag Shah" <chiragiit@y...> on Sun, 14 Jul 2002 16:09:33
|
|
Sorry try this:
--------------------------------------------------------------
Response.Cookies(cookieName).Expires = DateAdd(("N", 10, Now))
--------------------------------------------------------------
|
|
 |