Session Expiry


#1

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.


#2

On Thu, Mar 12, 2009 at 2:26 AM, NARAYANAN CJ
removed_email_address@domain.invalid 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 D.
http://destiney.com/


#3

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


#4

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).