NetTalk Central

Author Topic: Login form not validating any more !?  (Read 3084 times)

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Login form not validating any more !?
« on: February 28, 2012, 06:09:05 PM »
Hi all,

If you've been following my last few posts on here, we've just started using the HOST sample app to host multiple NetTalk sites on one server.

I was playing around with the app yesterday with some success - I could login with no issues and set up new server etc.

Then, for no real explicable reason, the app now refuses to validate the logins.  No matter what username and password I type into the form on the HOST.exe webform, I just get thrown to the 'BrowseServers' which is the 'submit' action for the form.

None of the validation code gets run, and thus I cannot manage the servers or view reports etc.

As far as I know, I didn't make any changes to the Form procedure, just added some HTML divs to the Header/Footer before the app started failing.  I've backtracked those changes to the best of my knowledge but the app still refuses to validate the form.

Where is the best place to start debugging this?  I've tried placing ds_OutputDebug code in the 'CompleteForm', 'ValidateAll' and 'ValidateUpdate' routines, but none of them seem to be called!

Cheers,
Devan

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Re: Login form not validating any more !?
« Reply #1 on: February 28, 2012, 06:21:04 PM »
Hmm...scratch this question... I just recopied the APP file across from the EXAMPLES folder, and re-did the changes to the header/footer and it works OK again now...

Must have corrupted the original APP file somehow?!?  Strange...

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: Login form not validating any more !?
« Reply #2 on: February 28, 2012, 08:24:46 PM »
It happens if the IDE mis-generates the webserver procedure. Touch a setting in that, to force it to regen and you should be ok.