Highlighted

Session lifetime

levancho

21-02-2009

I want to cache session, what determines session life cycle
and when does session terminate?

besides user terminating it manually?

Replies

Highlighted

Raff_

Employee

22-02-2009

Currently AFCS uses some generic authentication services
provided by the Adobe infrastructure that we don't control (I mean,
we as the AFCS team). But I think the session terminates after a
certain period of inactivity (just don't ask me how long)



If you are doing requests that are spread in time I would
just say, login every time.



If you are doing a lot of requests to the server (why ?) and
you really want to cache the session I would suggest you "manage"
authentication errors to know when to authenticate again, or do
something like login again if a session is older than one hour or
so.