NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on November 09, 2016, 05:12:30 AM

Title: Auto login from URL without calling LogIn form
Post by: johanco123 on November 09, 2016, 05:12:30 AM
Hi Bruce

I call a netwebform with values from a URL. It is opening the form and I can get the values in the from that was passed in the url.

How can I auto login to the netwebform that i called from the url  without using the LoginForm.

I put in the code with the checks in the form and then set
p_web.ValidateLogin()
 p_web.SetSessionLoggedIn(1)
but i am not logged in.

Any suggestions will be appreciated.

Kind regards
Johan
Title: Re: Auto login from URL without calling LogIn form
Post by: Bruce on November 13, 2016, 10:17:40 PM
Hi Johan,

Can you elaborate more on the context of your URL link? Is it on a foreign page? is it in an email? in the same app?

Where in the code did you put your checks?

Perhaps post an example - it's difficult to debug your code without seeing it.

cheers
Bruce