NetTalk Central

Author Topic: NT5 - Login Form - Page Cannot Be Found  (Read 3782 times)

David

  • Full Member
  • ***
  • Posts: 127
    • View Profile
NT5 - Login Form - Page Cannot Be Found
« on: March 23, 2010, 12:17:27 PM »
I have a webserver that requires the user to be logged in to see/do anything.  The default page is set to index.html and the login page is set to login.html.  If the user enters a wrong password they should get an error message and then the login page should be presented again.  This worked fine in NT4.  However, in NT5, sometimes the error message is displayed and most of the time a "The page cannot be found" page is displayed.  If I hit refresh, then the login page is displayed again correctly.  The login validation for bad password is:

 loc:invalid = 'tmp:UserName'
 p_web.SetValue('retry','login.html')
 loc:Alert = 'Login Failed. Try Again.'

loc:invalid is set to tmp:UserName for wrong user names or passwords so as not to give away which was wrong.  Am I missing another settingor step?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT5 - Login Form - Page Cannot Be Found
« Reply #1 on: March 23, 2010, 10:57:28 PM »
Hi David,

what build number of NT5 are you using?

cheers
Bruce

David

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: NT5 - Login Form - Page Cannot Be Found
« Reply #2 on: March 24, 2010, 05:50:10 AM »
C7.1.6955
NT5 PR10

I also forgot to mention that this is a secure site running over 443.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT5 - Login Form - Page Cannot Be Found
« Reply #3 on: March 25, 2010, 06:00:37 AM »
Hi David,

From your explanation all seems ok - but obviously something is not quite right.
Any chance you can post an example?
The SSL bit probably isn't material to your problem.

cheers
Bruce


David

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: NT5 - Login Form - Page Cannot Be Found
« Reply #4 on: April 08, 2010, 07:37:32 AM »
after further investigation, I think this was an issue caused by me.  I had a process that was taking about 20 seconds to complete and I think the browser was timing out before the server was returning the login page.