OutputCache=None question

Discussion in '.NET' started by ritika_v, Apr 2, 2008.

  1. ritika_v

    ritika_v

    Joined:
    Apr 1, 2008
    Messages:
    3
    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!
     
    ritika_v, Apr 2, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. z. f.
    Replies:
    0
    Views:
    424
    z. f.
    Feb 10, 2005
  2. length power
    Replies:
    2
    Views:
    80
    Rustom Mody
    Apr 10, 2014
  3. Skip Montanaro
    Replies:
    0
    Views:
    62
    Skip Montanaro
    Apr 10, 2014
  4. Johannes Schneider

    Re: why i have the output of [None, None, None]

    Johannes Schneider, Apr 10, 2014, in forum: Python
    Replies:
    0
    Views:
    53
    Johannes Schneider
    Apr 10, 2014
  5. Terry Reedy
    Replies:
    0
    Views:
    63
    Terry Reedy
    Apr 10, 2014
Loading...

Share This Page