Skip to main content

Mobomo webinars-now on demand! | learn more.

Eric, a good friend of ours recently went to work for Google. The lore had it that he was personally approved by The Larry Page. I have been working with him for over five years. Great guy! He is a Linux expert, very quite, efficient, and very organized. The perfect go-to guy. About 26 people RSVPed for the lunch at the Cheese Cake Factory (three times the typical attendance). In the end, over 30 people showed up for the lunch. Even people who ordinarily don't go to these kind of social events showed up.

In all my seventeen years of working career, i never seen such a warm send-off. Is this really Eric's charisma or did Google have something to do with it?

Maybe it's the cheesecake...

Congrats, Eric!

Categories
Tags
Author

SessionExpiration is plugin that allows you to expire sessions after X seconds of inactivity. Useful for when you want to automatically log out users if they're idle.

Installation:

  script/plugin install http://svn.intridea.com/svn/public/session_expiration

OR

  cd vendor/plugins  svn co http://svn.intridea.com/svn/public/session_expiration

Specify when to expire session in your ApplicationController to do it site wide or you can do it for specific controllers:

  class ApplicationController    expire_session_in 5.minutes  end

If you want to run a method when the session expires use this:

  class ApplicationController    expire_session_in 5.minutes, :after_expiration => :some_method  	    def some_method      flash[:notice] = "You have been logged out due to inactivity"    end  end
Categories
Tags
Author
Subscribe to