Stored Procedure Running More Than Once

  • Sorry I meant to address Kris Sledge in my last post

  • If it is a input type submit, and has an onclick event, the safest thing to do is change it to an input type button and use the javascript form.submit() to submit the form after the check is performed. We have been bitten by this one many times and it is a pain to track down. At the least, changing the input type is a simple try to see if it fixes the problem.

    Good luck!!

  • My solution does need some error handling. (sp_releaseapplock in CATCH block etc)

    Also, it would probably be better to use the SP name plus the @HashedBasketId for the resource just in case there is confusion with other SPs.

     

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic. Login to reply