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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top