Helllo there, Can any one help me on this "Session Expiry" I just want to make the session expire when the system goes idle how do i do it yours , Narayanan.cj.
on 2009-03-12 08:26
on 2009-03-12 20:23
On Thu, Mar 12, 2009 at 2:26 AM, NARAYANAN CJ <firstname.lastname@example.org> wrote: > Helllo there, > > Can any one help me on this "Session Expiry" > > I just want to make the session expire when the system goes idle > > how do i do it CGI::Session.expire_after 2.hours -- Greg Donald http://destiney.com/
on 2009-03-13 05:57
many thanks Donald , even i was looking for this whether the session get cleared by default or only when the page is idle. Senthil Raja
on 2009-03-13 08:01
> CGI::Session.expire_after 2.hours that's not entirely true. the above mentioned code only works with the dynamic_session_exp plugin. without plugins for CGI::Session there are only few methods like new or delete (http://www.ruby-doc.org/core/ classes/CGI/Session.html).