OutputCache=None question

Joined
Apr 1, 2008
Messages
3
Reaction score
0
I have a webform that gets the firstname, lastname, address etc. Once the form is submited, it submits the data to database and sends an email to the customer. I am using the same form to display the confirmation message by setting the form visibility to false.

My question is regarding cache. Currently I have set the OutputCache Location=None because it used to store the user information on hitting Back button which allowed the user to resubmit the same information. I do have code to prevent duplicate submission but just to avoid the clicking of Submit button I have turned the OutputCache Location="None".

I need to know if this is right way of programming. Any suggestions would be appreciated.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top