We are still in the early stage of production and have not opened the
production environment to end users.
So below the responses to your questions
> - How many sessions do you have open before they start expiring?
It happens whether I have one session or more than one
> - How much and what kind of data are you storing in your sessions?
An array of five elements
array string(255;$aData;5)
> - Are you doing anything in the On Session End event handler?
Yes, purging pending reservations from the database. Nothing more or
different than what is done under 4D Standalone. Nevertheless, I have done a
test removing the "on session end" code  and part of the problem has
disappeared. New sessions can be started but 4D Client can't be stopped
without forcing it to quit.
The code in "on session end" is the following :

        query([Sessions];[Sessions]ID=num(get session("Data";0)))
        if (records in selection([Sessions])=1)
            read write([Sessions])
            load record([Sessions])
            [Sessions]End:=current time
            save record([Sessions])
        end if

> - About how many hits per minute are you getting?
None at this point. The test was made with a single user, the display of a
single Web page, closing the browser than waiting until the session expires
before lauching a new connection.

-- 
Robert Ernens
[EMAIL PROTECTED]
+33.6.11.78.44.68

> De�: Aparajita Fishman <[EMAIL PROTECTED]>
> R�pondre �: Active4D Developer Discussion List
> <[EMAIL PROTECTED]>
> Date�: Sat, 4 Oct 2003 10:35:37 -0400
> ��: Active4D Developer Discussion List <[EMAIL PROTECTED]>
> Objet�: Re: [Active4d-dev] 4D Client problem, when used as Web Server, after
> an A4D session expires
> 
>> After having transfered our application to the production
>> configuration made
>> of 1 x 4D server and 1 x 4D client as a Web Server, we have been
>> experimenting tremendous performance of our Web Portal designed with
>> Active
>> 4D and 4D 2003 up to the point a session expires. At that point, no new
>> session can be opened, the Active 4D session manager does not respond
>> any
>> longer if started when the session expires.
> 
> I want to make sure I understand this correctly. You say you are
> getting tremendously good performance until a session expires, then it
> seems to get stuck, so to speak?
> 
> A few questions:
> 
> - How many sessions do you have open before they start expiring?
> - How much and what kind of data are you storing in your sessions?
> - Are you doing anything in the On Session End event handler?
> - About how many hits per minute are you getting?
> 
> Regards,
> 
>   Aparajita
>   Victory-Heart Productions
>   [EMAIL PROTECTED]
>   www.aparajitaworld.com
> 
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoylibrary.com
> 
> 


Reply via email to