Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Problems running my new app

$
0
0
Re: Problems running my new app
FoxInCloud
Re: Problems running my new app
Apr. 19, 2013
06:41 am
3RK0ECQLNShow this entire thread in new window
Gratar Image based on email address
From:FoxInCloud support
To:Michele
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 ?




Viewing all articles
Browse latest Browse all 10393

Trending Articles