NetTalk Central

Author Topic: LoginPage  (Read 2843 times)

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
LoginPage
« on: November 28, 2022, 09:35:43 PM »
hi
i have 2 netwebform with both of them with User must be logged in ticked.
If i load FormA, it will automatically opens LoginForm if there is no user logged in.
If i load FormB, i want to open LoginForm1 instead of the default LoginForm.
How can i do this?

regards,
Jason
nt12.47
c11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: LoginPage
« Reply #1 on: November 28, 2022, 10:01:19 PM »
In webHandler, in the MakePage method, set
self.site.LoginPage

presumably based on self.pagename at that point, or some session value.

Cheers
Bruce