Good way, either ajax way polling in 20 minutes, or Channel API, comet way.
On Mon, Apr 11, 2011 at 2:59 PM, nischalshetty <nischalshett...@gmail.com>wrote: > You would need to specify a timeout and if there is no activity for > that time frame sessions would need to expire. To be safe about > expiring sessions and at the same time wanting to keep them alive, > what I can suggest is do this : > > Put a simple ajax call on the page. Make it call your app every 20 > minutes. That way the sessions would not expire. Just a suggestion, > haven't done anything like that so don't know how good a solution it > is. But to get started quick, I would definitely do this. > > -Nischal > > On Apr 11, 11:38 am, Daniel <vedm...@gmail.com> wrote: > > I refer to the one that defined in web.xml > > > > <session-config> > > <session-timeout>30</session-timeout> > > </session-config> > > > > I want to keep it open as long as the browser is opened at my page... > > > > On Apr 10, 2:10 pm, Didier Durand <durand.did...@gmail.com> wrote: > > > > > > > > > > > > > > > > > Hi, > > > > > You should clarify what you mean by an open session: do you mean the > > > http one defined by the cookie, the security one after login, etc ? > > > > > regards > > > > > didier > > > > > On Apr 10, 9:35 am, Max <thebb...@gmail.com> wrote: > > > > > > have you tried to use memcache or simply store session into > datastore? > > -- > 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-java@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. > > -- 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-java@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.