NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: David on March 23, 2010, 12:17:27 PM

Title: NT5 - Login Form - Page Cannot Be Found
Post by: David 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?
Title: Re: NT5 - Login Form - Page Cannot Be Found
Post by: Bruce on March 23, 2010, 10:57:28 PM
Hi David,

what build number of NT5 are you using?

cheers
Bruce
Title: Re: NT5 - Login Form - Page Cannot Be Found
Post by: David 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.
Title: Re: NT5 - Login Form - Page Cannot Be Found
Post by: Bruce 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

Title: Re: NT5 - Login Form - Page Cannot Be Found
Post by: David 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.