Hi All

I had an interesting situation today where I discovered that the 4D Web Server 'Inactive Web Process Timeout' setting (Preferences -> Web -> Advanced) has no effect on 4D Client unless you activate the 'Re- Use Temporary Context' checkbox (Preferences -> Web -> Configuration - > Starting Mode). This checkbox doesn't seem to appear in 4D Single user - only 4D Client. (4D 2004.5).

When I activated this I observed a VERY substantial performance improvement - specially on image loading, which is handled by a separate server. I discovered the timeout wasn't working (or was effectively set to zero seconds) after I noticed the 4D Server (Data server) console activity monitor oscillating wildly, and on expanding the client connection line, could see the web processes birthing and dying for every single page request.

HOWEVER, PROBLEM: When I activate this mode, everything seems to behave normally, except a script containing the following Active4D function . . .

$P_SECURE:=num(get request info("*secure"))

 . . . seems to return 0 (zero) instead of 1 for a secure page request.

I'm not sure if this is because 4D has problem in re-using a process which previously handled an non-secure request for handling a secure one, or if it's to do with the request header being cached in an obscure process variable somewhere, or if it's something to do with Active4D.

Anybody got any ideas ?

Regards

Peter

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to