Dec 6, 2004 #1 tziviak2 MIS Joined Jul 20, 2004 Messages 53 Location US how do I reset a form-without a user clicking on a button-and I want to put the code-before the form is even loaded.
how do I reset a form-without a user clicking on a button-and I want to put the code-before the form is even loaded.
Dec 6, 2004 #2 onpnt Programmer Joined Dec 11, 2001 Messages 7,778 Location US doesn't make much sense on why you would need to. are you just making sure some values are not loaded from a cached instance? if so set the cache level in the page to 0 and that will do it e.g. Code: <% Response.Expires = 60 Response.Expiresabsolute = Now() - 1 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "no-cache" %> ___________________________________________________________________ onpnt.com SELECT * FROM programmers WHERE clue > 0 (0 row(s) affected) -->faq333-3811 Upvote 0 Downvote
doesn't make much sense on why you would need to. are you just making sure some values are not loaded from a cached instance? if so set the cache level in the page to 0 and that will do it e.g. Code: <% Response.Expires = 60 Response.Expiresabsolute = Now() - 1 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "no-cache" %> ___________________________________________________________________ onpnt.com SELECT * FROM programmers WHERE clue > 0 (0 row(s) affected) -->faq333-3811
Dec 7, 2004 #3 vbkris Programmer Joined Jan 20, 2003 Messages 5,994 Location IN but onpnt that will effectively stop the "Back" button from working (ie it will say page expired blah blah blah...)? Known is handfull, Unknown is worldfull Upvote 0 Downvote
but onpnt that will effectively stop the "Back" button from working (ie it will say page expired blah blah blah...)? Known is handfull, Unknown is worldfull
Dec 7, 2004 #4 onpnt Programmer Joined Dec 11, 2001 Messages 7,778 Location US yeah and I'm still confused on what is wanted. if they never clicked a button how is the form collection ever there in the first place. hmmm.. or maybe they're just not allowed to see what they submit ___________________________________________________________________ onpnt.com SELECT * FROM programmers WHERE clue > 0 (0 row(s) affected) -->faq333-3811 Upvote 0 Downvote
yeah and I'm still confused on what is wanted. if they never clicked a button how is the form collection ever there in the first place. hmmm.. or maybe they're just not allowed to see what they submit ___________________________________________________________________ onpnt.com SELECT * FROM programmers WHERE clue > 0 (0 row(s) affected) -->faq333-3811