[appengine-java] Instance startup/shutdown and sessions

2010-07-26 Thread Marcel Overdijk
I like to store the logged in user (custom; not Google User Api) of my
app in the session.

What happens if between logged in user navigates to another page and
the GAE instance was shutdown?
I understand a new instance is started but what happened to the
session data?

Also, how is startup/shutdown of instances related to session-timeout
in web.xml?

session-config
session-timeout30/session-timeout
/session-config

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Instance startup/shutdown and sessions

2010-07-26 Thread Shawn Brown
 What happens if between logged in user navigates to another page and
 the GAE instance was shutdown?
 I understand a new instance is started but what happened to the
 session data?

AFAIK session data is persisted to big table.

 Also, how is startup/shutdown of instances related to session-timeout
 in web.xml?

 session-config
    session-timeout30/session-timeout
 /session-config

AFAIK there is no connection.  An instance will not be kept warm
because there is an open session.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.