[erlang-questions] yaws session timeout
Claes Wikstrom
klacke@REDACTED
Wed Nov 29 15:26:52 CET 2006
karol skocik wrote:
>
> I know there is a function yaws_api:replace_cookie_session(Cookie,
> NewOpaque), but I don't know how to pass the TTL information this way.
> Is there some simple solution help me out?
>
If you invoke replace_cookie__session() the ttl will be updated
as in now() + originalTTL
Thus - using replace_cookie_session() will also give the
session new and more time.
See code in yaws_session_server.erl
/klacke
More information about the erlang-questions
mailing list