NetTalk Central

Author Topic: Auto login from URL without calling LogIn form  (Read 3796 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Auto login from URL without calling LogIn form
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Auto login from URL without calling LogIn form
« Reply #1 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