similar to: graceful session expiry?

Displaying 20 results from an estimated 7000 matches similar to: "graceful session expiry?"

2006 Feb 09
1
session cookie expiration
from the Agile Book, i see i can set the absolute session expiry time via: ActionController::CGIRequest::DEFAULT_SESSION_OPTIONS[:session_expires] however, I don''t see anything about what the actual default setting is when a session is created. also, is there a way to set the expiration to happen when the browser is closed? in PHP, this can be accomplished using
2006 Mar 15
3
[login_generator] implementing login limits
I have a simple Rails app that I am close to deploying on our intranet. The security model is "either you are an admin or your are not," with the method of implementing this model being done by the login_generator 1.1.0. There is one account set up, ''admin'', with three of us having the ability to logon with this username (i.e. we know the password). I am looking to
2007 Jul 11
1
Session Expiration Problem: How to keep a user logged in for
How do I keep the Rails session from expiring when the browser exits? I would ideally like the user to be logged for a few days (e.g. 2 weeks). Do I use the Rails "session" or "cookies"? Also, my understanding is that session[:session_expires] doesn''t work. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~
2005 Dec 15
2
:session_expires usage
Hi everyone, I''m new to Rails and web development. I just bought up the Agile book and I''ve got a question about the :session_expires option. In the book, page 317, it says the :session_expires "option should probably not be used." Does anyone know why? The book doesn''t explain or give any indication as to why. In an application I''m working on
2006 May 08
8
enforcing special behavior of child rows in HABTM
Hi, I have a scenario where a doctor can have one or more specialties. For each doctor, one and only one of her specialties can be designated as primary. So I have tables called doctors, specialties, and doctors_specialties, the last of which has a boolean is_primary column. The doctor model class specifies that: has_and_belongs_to_many :specialties I want to enforce, at the lowest possible
2006 Sep 09
2
Server-side session management for short session expirations?
I need to effectively log a user out if their session is inactive for more than a short period of time, like 5 minutes. I need some help understanding how to approach session expiration and cleanup in Rails. When the user explicitly logs out of my app, I delete all the data they''ve entered/that''s been created during their session. The data includes files, database records, and
2006 Feb 11
2
Session ID in a cookie?
I''ve been looking around for how to store the session ID in a cookie. The "Agile Web Development with Rails" books seems to indicate that this is done by default with Rails. But I don''t see a cookie being set in my browser. (yeah, they''re enabled) I poked through the RForum code to find something referencing "cookies" but nothing came up. Does
2006 Feb 15
5
strange behavior with has_many and size
Here is a "ruby script/console" session verbatim which will explain the problem. Bear in mind that nothing is changing the database behind the scenes at any time. topics is a has_many relationship of Sponsor. >> s = Sponsor.find(3) => #<Sponsor:0x22fd804 @attributes={... >> s.topics.size => 1 >> l = s.topics => [#<Topic:0x22d3fa4 @attributes={...
2006 Feb 15
5
dispatch.cgi error affecting specific browsers
I have a rails app that is accessed through Apache 2 (just using cgi now; will add fastcgi later when everything is working). The app works fine with some os/browser combos at my work site: windows/IE Mac/safari Mac/firefox Linux/firefox But it fails on windows/firefox and my colleague''s (at a different site) mac/safari (we are running the same os version and version of safari) The
2009 Mar 12
3
Session Expiry
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2013 Jul 14
2
Rails 4: Session Expiry?
I''ve been Googling this question for the past few hours, and I think it''s time I simply ask this question myself. I just made the switch from Rails 3.2 to Rails 4. I''m trying to make sure I''m as up-to-speed as possible on security issues, and I''m concerned about sessions right now. It looks like Rails 4 has moved away from supporting really
2005 Dec 17
10
need some tips for applying patches
I am working with a legacy database that does not always follow the conventions for table names, primary key and foreign key column names, and join table names. This is no problem in my application code because Rails allows me to override the defaults. However it is making unit testing next to impossible because fixtures will still try and insert data into the wrong tables. Changing the
2006 May 17
0
session_options/session
How do I display, in breakpointer for example, session.session_key or session.session_expires ?? The only one that works is session.session_id for some reason. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060517/d99e0837/attachment-0001.html
2012 May 07
1
commenting out a block of R code
Dear friends, Is there an easy way of commenting out a block of R code after it has been written? (I am aware that R-aware editors can insert # line-by-line while it is being written, but I want to basically block out chunks of R code in a few strokes.) This question was asked on this mailing list some time ago: Professor Ripley's answer was to try the following:
2004 Aug 06
2
unable to set gid
my icecast install was working fine until today when it died inexplicably. now it says peter@yurt:~$ /etc/init.d/icecast-server start Starting /usr/sbin/icecast... start-stop-daemon: Unable to set gid to 102 what the HELL is gid thanking you in advance for the help, peter --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To
2004 Feb 17
1
SSH disconnect issue after grace timer expiry
Hi, I was just wondering if any of you would be able to help me with pointers to find a fix for the known problem in SSH2 that the server does not properly disconnect after the login grace time is reached. Thanks for your time ! Regards, Bhuvana
2006 Aug 15
6
try creating a table for your model
Railers: Greetings from the low end of the learning curve. I have installed all the prerequisites on Win32, including a lite MySQL database with a table in it called Inventory. Then I run this command line... ruby script/generate ajax_scaffold Inventory ...and I get this error message: error Before updating scaffolding from new DB schema, try creating a table for your model
2004 Apr 05
5
[Bug 568] Kerberos password auth/expiry kbdint patch
http://bugzilla.mindrot.org/show_bug.cgi?id=568 ------- Additional Comments From michael.houle at atcoitek.com 2004-04-06 06:04 ------- Can someone please enlighten me on whether this kind of code is going to be included in the main development ? I thought this would be handled automatically by the krb5 libraries, so I was suprised to find that password changing doesn't work in the SSH
2006 Jul 25
4
Knowing when a user is logged in
I am looking into creating a website similar to a chat program. I know when the user logs in. However, the user can log out any of the following ways: Logout link - This one is easy to handle User closer browser window User hits the back button User loses his/her internt connection. Is there a way within rails to handle the latter three user actions? Thanks! -- Posted via
2011 Apr 06
2
XCP - license expiry problem - http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1756 not fixed?
Hello, i have 3 XCP 1.0.0 hosts in a pool, one of them is not enabled: xe host-param-list uuid=402f07f4-99c0-4501-9787-8dee8984e313 uuid ( RO) : 402f07f4-99c0-4501-9787-8dee8984e313 name-label ( RW): xcp1.domain.com name-description ( RW): Default install of XenServer allowed-operations (SRO):