Are you sure you have correctly restarted aped. ??  it seem, with the apache 
respond, that ape doesn’t restarted..

Like Louis said, it’s an apache response, not an ape response..

 

 

 

De : [email protected] [mailto:[email protected]] De la 
part de Nicolas
Envoyé : mardi 30 septembre 2014 19:26
À : [email protected]
Objet : Re: [APE Project] Session persists for 45 seconds after APE is closed

 

Well I did some further investigation.

 

The reality is not what I thought it was, but it is weird nonetheless.

 

IWhen I want to login a user, I send a command like this to APE:

 

http://ape.local.ape-project.org/?[%7B%22cmd%22:%22REGISTER%22,%22params%22:%7B%22name%22:%22register_user%22,%22user_id%22:%22105501%22,%22user_agent%22:%22Mozilla//5.0%20(Windows%20NT%206.1;%20WOW64)%20AppleWebKit//537.36%20(KHTML,%20like%20Gecko)%20Chrome//37.0.2062.124%20Safari//537.36%22,%22check_key%22:%gfgdsf%22,%22activation_key%22:%gsdfgsd%22,%22user_ip%22:%22192.168.18.1%22%7D%7D
 
<http://ape.local.ape-project.org/?%5b%7B%22cmd%22:%22REGISTER%22,%22params%22:%7B%22name%22:%22register_user%22,%22user_id%22:%22105501%22,%22user_agent%22:%22Mozilla//5.0%20(Windows%20NT%206.1;%20WOW64)%20AppleWebKit//537.36%20(KHTML,%20like%20Gecko)%20Chrome//37.0.2062.124%20Safari//537.36%22,%22check_key%22:%25gfgdsf%22,%22activation_key%22:%25gsdfgsd%22,%22user_ip%22:%22192.168.18.1%22%7D%7D>
 ]

 

This is dealt with and provided the user has the right to login, this returns 
the right answer and the login is processed.

 

However, let's assume one user is logged in and correctly connected to APE. 
Then I close APE and restart it. Then I close the PHP session of the user and 
try relogin. Then the previous command is sent again, but this time I get the 
following error:

 

 


Service Temporarily Unavailable


The server is temporarily unable to service your request due to maintenance 
downtime or capacity problems. Please try again later.

  _____  

Apache/2.2.14 (Ubuntu) Server at ape.local.ape-project.org Port 80

 

 

It goes away after more or less 45 seconds. 

 

Why is that?

 

Nicolas.

 

 


On Saturday, September 27, 2014 5:17:34 PM UTC+1, Louis Charette wrote:

You mean the actual sessions when ape is restarted on the server side? Never 
seen that. Everything should be in memory I guess, so sessions are flushed on 
the server when APE is closed.

 

  - Louis

 

Le 2014-09-25 à 08:47, Nicolas <[email protected] <javascript:> > a écrit :





Hi,

 

I have long noticed that after closing et restarting APE, sessions from the 
first instance are still active for 45 seconds.

 

Why is that? Where is the session information stored? On the hard disk I 
suppose?

 

Thanks.

 

 

 

 

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected] <javascript:> 
To unsubscribe from this group, send email to
[email protected] <javascript:> 
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] <javascript:> .
For more options, visit https://groups.google.com/d/optout.

 

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to