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

Re: time-out

$
0
0
Re: time-out
FoxInCloud
Re: time-out
04/18/2012
09:52:34 AM
3HD0L65R2 Show this entire thread in new window
Gratar Image based on email address
From:
Tuvia Vinitsky
To:
Attachments:
None

I did it interactively and not programatically by the advanced properties of the apppool in IIS Manager. However the wwIISAdmin::CreateAppPool (in the webserver.vcx) is supposed to be able to set the apppool properties. I have not really experimiented with that. But you could use it in the FaS setup to change the default timeout.


How did you do that?
Could be applied to automated server installation under development ...
Thanks

This specific problem was in IIS 7 AppPools have default timeouts of 20 minutes, after which a relaod and wipe occurs - very bad for an app. I removed the timeout and took of the recycle.


When awServer.prg!awAppConfig::nSessionTimeOutMin expires, wUser is set to wUserAnonymous
Please browse source code for definition of these properties
HTH,

Both of those are request time-outs, correct? i am concerned with inactivity timeouts not from a request, but where the session identity is lost after no requests from the browser for x time.


FoxInCloud enforces 2 inactivity timeouts:

- on the client : FoxInCloud.js overridden by xxx.js

<span style="{font-size: xx-small; color: red;}">Code parsing for language: "javascript'" is not currently supported.<br></span>
  requestTimeoutDev: 600,
  // {en} DEVELOPMENT : request timeout delay in seconds
  // {en}  when delay times out, an alert appears in HTML page and request is lost
  // {en}  a faily long delay is recommended to let you enough time to debug any possible error
  // {fr} DÉVELOPPEMENT : délai en secondes avant que la requête n'expire 
  // {fr}  quand le délai expire, un message apparaît dans la page HTML et la requête est perdue  
  // {fr}  un délai assez long est recommandé pour vous laisser le temps de déboguer le cas échéant 
  requestTimeoutProd: 25,
  // {en} PRODUCTION: request timeout delay in seconds 
  // {en}  when delay times out, an alert appears in HTML page and request is lost
  // {en}  set a delay at least as long as the 'Timeout' value in your wc.ini file
  // {fr} PRODUCTION : délai en secondes avant que la requête n'expire 
  // {fr}  quand le délai expire, un message apparaît dans la page HTML et la requête est perdue  
  // {fr}  réglez un délai au moins aussi long que la valeur de 'Timeout' dans votre fichier wc.ini  

- on the server through wc.ini!Timeout=60, like any wConnect application

For long requests you can either run several server instances or run an asynchronous process (wwAsyncWebRequest.prg!wwAsyncWebRequest)

HTH,

I am about to investigate a report from a user, but before if anyone knows a simple answer to this: does FiC enforce any kind of inactivity timeout? (Not a server request timeout)







Viewing all articles
Browse latest Browse all 10393

Trending Articles