NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on December 13, 2017, 09:09:42 AM

Title: Basic Login Form
Post by: rjolda on December 13, 2017, 09:09:42 AM
Hi All,
Have NT 10.12 application which was moved up from NT8.  Everything OK but LOGIN Form giving me heartaches.  I have added several other fields to login screen. Ran perfectly in NT8 but now in NT10, it DOES NOT run the code in the VALIDATE UPDATE  Routine.  It is a Memory Form using local variables.
Interestingly, I copied a plain vanilla Login Form from Example 3 and it does work ( Demo, Demo) = however, as soon as I change the Login fields, it stops running the VALDATE UPDATE Code - seems to just ignore it. 
Anyone with any Insight as to how/why it is happening and how to fix it?
TIA,
Ron Jolda
Title: Re: Basic Login Form
Post by: Bruce on December 14, 2017, 02:11:20 AM
sounds like you have both "delete session on logout" set on,
and in the form embed code to do a logout...

that's the most common reason for this sort of issue.

cheers
Bruce
Title: Re: Basic Login Form
Post by: oggy on December 14, 2017, 07:02:28 AM
Same with my app. Suddenly code no fire up ....
I just put some ordinary clarion message in login form, but message did not popup....
Title: Re: Basic Login Form
Post by: oggy on December 14, 2017, 07:55:03 AM
Got this error while attempt to log...
Title: Re: Basic Login Form
Post by: Bruce on December 15, 2017, 06:41:21 AM
That error is normal, and can be ignored I think.
Try example "Basic with Login (3)" and see if you get the same effect there.

cheers
Bruce
Title: Re: Basic Login Form
Post by: oggy on December 15, 2017, 08:03:56 AM
Sorry Bruce, hard month, week, day...
I finally got it work. Of course, it is my fault, or lets say ghost from past. One old script prevent it from working after I ported application from NT7. That script prevent user to use application in IE 6, and after I commented that script, all works well.
Sorry for be annoying, but, I am one old guy trying to learn some new stuff...
 :)
Title: Re: Basic Login Form
Post by: Bruce on December 19, 2017, 05:18:46 AM
 :)