When i’m debugging my webapp on my mac, it runs just fine. does not quit any moment using or on hold.
But for compiled version, if i’m on a mac, the app just ends with “The application has gone off-line. Please try again later.”, at any time, in any function or doing any process. It’s simply random!
It works fine on “any” version of windows, with firefox or chrome.
Any help or ideas will be great!!
Best regards,
Alex
Development and debug
Xojo 2017r3
MacOS 10.3.3
Safari, latest version
Function UnhandledException(Error As RuntimeException) Handles UnhandledException as Boolean
If error <> Nil Then
Dim type As String = Introspection.GetType(error).Name
MsgBox(type + EndOfLine + EndOfLine + Join(error.Stack, EndOfLine))
End If
End Function
Is there a way to make the webapp to quit if no one is using the app?
How?[/quote]
If its CGI, it will do that automatically.
For Standalone, youll need to set App.autoquit = True in the App.Open event. Be careful with this. Once a Standalone app quits, youll have to start it again to allow new users to connect.
[quote=373329:@Greg O’Lone]If its CGI, it will do that automatically.
For Standalone, youll need to set App.autoquit = True in the App.Open event. Be careful with this. Once a Standalone app quits, youll have to start it again to allow new users to connect.[/quote]
It’s CGI.
The host provider, sent me this message: “That site uses PHP 5.6 and I see max_execution_time is set to 300.”
Is that correct for CGI App?