From: | Michele |
To: | FoxInCloud support |
by default, forms don't accept anonymous access unless specified by setting .wlAnonymousAllowed = .T.
this is a security fallback, the other way round would be far too dangerous, anyone could access any form of the application by simply typing an URL
User is no longer anonymous as soon as he has logged in and your code has called either thisForm.wUserSet() or Process.wUserSet() (see these methods for details)
Ok. It works. I didn't find where to set redirection for the single file....
When FIC doesn't consider anonymous an access to the app ?
1) As explained earlier, you need to redirect index.htm to your main form URL, as in the following example
2) Do you have .wlAnonymousAllowed = .T. on your second form?
I have these two problems in my app.
1) when i launch it from the browser with localhost/suptest this page is opened
instead of my main form that is opened in vfp screen....(in debug). If i want to open it i have to insert as address localhost/suptest/main.sup (i use Windows 7 on my machine)
The only place where i have found a sort of redirection if i insert to redirect the site on main.sup i have a loop error in the browser.
2) In my main form i have a group of buttons....the first to insert the user calls a new form without problems....the second button opens another form, but when i select this button i'm redirected to the page i shown before with the name of some forms of my project....
What is wrong in my app ? or in my IIS ?