PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → saas question
saas question
Débuté par Mimmo Ghiara, 12 déc. 2019 17:28 - 1 réponse
Posté le 12 décembre 2019 - 17:28
Hi everyone, I'm starting to develop an application in Saas and I can't do a simple thing. I need two or three pages to present the site / software and then with a Go to site button I need to have a login page. WebDev does it automatically, but then all the pages are under login, how can I do, obviously besides the three pages visible to everyone the rest must be password protected
Thanks for the tips
Mimmo
Posté le 18 janvier 2020 - 14:32
I read some documentation and I understood how it can be done. Now I'm creating the login page to the SaaS site.
I state that I created the site, the user, the services and the licenses.
Then I wrote the second manual code but I realized something I don't understand.

SaaSConnect ("login", "password") any login and password returns true. (Strange?)

Then I move on to
SaaSCheckService ("AMBULATORY") gives me an error and that I have to enter the webserver ip

I enter the IP
myconnection is Connection = "localhost"
SaaSCheckService ("AMBULATORY", myconnection)

It always returns false whether the user is correct or fictional

I do not understand
Give me some suggestions

There is no demo / tutorial that gives a serious explanation
The example with the software makes a SaaS using its own procedure. Not that of the manual
I also wrote an example from a depository but it is a ridiculous example

Thank you

Mimmo