Results 1 to 2 of 2

Thread: disable button on server side

  1. #1

    Thread Starter
    Hyperactive Member nUflAvOrS's Avatar
    Join Date
    Jul 2007
    Location
    Malaysia/ Currently at Singapore
    Posts
    372

    disable button on server side

    Hi All,

    I found a problem in one of my project.

    I created a submit button on my registration page.

    When the event was closed the registration form should be disable.

    Thus, in order to disallow viewer submit the registration I disabled the button on clientside. However, we found someone still able to send the message bypass the submit button. Ourside was received the spam mail from them. We found the way they did, they downloaded the page to their local PC and modify the page to take out disabled tag and fire the submit event.
    We suspected their intension are just for fun without any criminal issue but we still want to take some action to avoid it happened again.

    In short term we take out the page which running asp CDO send mail script.

    The issue resolved on shortterm.

    In long term I would planned to disable the button on asp server side instead of clientside and pass some authenticate message from the button of asp CDO send mail page.

    Anyone of here able to help me and guide me to accomplish this issue ?

    Thanks a million :-)
    Where there is no hope, there can be no endeavor.

    There are two ways of rising in the world, either by your own industry or by the folly of others.

  2. #2
    Addicted Member
    Join Date
    Aug 2007
    Location
    India
    Posts
    141

    Re: disable button on server side

    You can do it by multiple ways:

    1. Remove the registration link from your page when event is closed
    2. Simply write the code at server level which will check if the event date is passed do not send the email message.

    I do not think other than putting restrication you can do anything.

    just suggestions!
    Do Good. Be Good. The World is yours.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width