search for: session_expired

Displaying 20 results from an estimated 22 matches for "session_expired".

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 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
2006 May 17
3
What am I missing?
There''s got to be a simple answer to this... def logout reset_session flash[:notice] = "Logged out" redirect_to :action => ''index'' end The flash never shows up, and doesn''t seem to be in the new session. --Al Evans -- Posted via http://www.ruby-forum.com/.
2006 Mar 17
1
graceful session expiry?
According to the Rails book, the session object has an attribute called :session_expires, but they don''t encourage its use. Currently I handle session expiry by using a cron job to delete session files that have not been modified in the last X minutes (it is a design/security requirement for this project that sessions expire after a finite period of inactivity). However, this is a
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 Sep 06
1
Problem changing cookie expiration
I''m trying to set the cookie expiration in my environment.rb file but I keep getting a syntax error on WeBRICK startup. I''m trying both of the ways listed in http://wiki.rubyonrails.org/rails/pages/HowtoChangeSessionOptions. FYI I''m new to rails so this is probably easy. 1) ActionController::Base.session_options[:session_expires] = Time.local(2008,"jan"))
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/. --~--~---------~--~----~------------~-------~--~----~
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
2015 May 06
0
[Announce] Samba 4.0.26 Available for Download
...hen binding a new session. * BUG 11144: Fix memory leak in SMB2 notify handling. * BUG 11164: s4:auth/gensec_gssapi: Let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors. o Christof Schmitt <cs at samba.org> * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc. ####################################### Reporting bugs & Development Discussion ####################################### Please discuss this release on the samba-technical mailing list or by joining the #samba-technical IRC channel on irc.freenode.net. If you do report prob...
2015 May 06
0
[Announce] Samba 4.0.26 Available for Download
...hen binding a new session. * BUG 11144: Fix memory leak in SMB2 notify handling. * BUG 11164: s4:auth/gensec_gssapi: Let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors. o Christof Schmitt <cs at samba.org> * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc. ####################################### Reporting bugs & Development Discussion ####################################### Please discuss this release on the samba-technical mailing list or by joining the #samba-technical IRC channel on irc.freenode.net. If you do report prob...
2009 Mar 22
1
Upgrading 2.2 to 2.3: console broken, "uninitialized constant Module::ActiveSupport"
Upgrading a Rails app from 2.2 to 2.3.2 (via 2.3.0). Got things working in the browser, but script/console seems messed up in both 2.3.0 and 2.3.2: $ script/console Loading development environment (Rails 2.3.2) /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb:56:in `env'':NameError: uninitialized constant Module::ActiveSupport
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
2007 Jun 19
2
Session Problem with Ajax Call
Hai,, I am totally new to Ajax. I am trying to use ajax in my project. Its working fine, I am getting problem while session time expires. If session expires means i am redirecting to login page.Onclick i am calling on ajax function. It will goto controller and it will check the session if session expires then it has to goto login page. On ajax call i am updating the div. If session
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 Apr 28
3
persistent cookies
hello, I am trying to implement a "remember be" box for logins, however I cant seem to get it to work. I have tried the following 2 methods but neither seem to work. When i check the expiry time in firefox it always says "end of session". What is the proper way to handle this so the session cookie "_session_id" doesnt expire for a year? I tried
2015 Jan 16
0
[Annouce] Samba 4.2.0rc4 Available for Download
...BSD needs PROT_READ. * BUG 11051: net: Fix sam addgroupmem. o Stefan Metzmacher <metze at samba.org> * BUG 10940: s3:passdb: fix logic in pdb_set_pw_history(). * BUG 11004: tdb: version 1.3.4. o Christof Schmitt <cs at samba.org> * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc. o Andreas Schneider <asn at samba.org> * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11026: nss_wrapper: check for nss.h. * BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG macro. * BUG 11037: s3-libads:...
2015 Jan 16
0
[Annouce] Samba 4.2.0rc4 Available for Download
...BSD needs PROT_READ. * BUG 11051: net: Fix sam addgroupmem. o Stefan Metzmacher <metze at samba.org> * BUG 10940: s3:passdb: fix logic in pdb_set_pw_history(). * BUG 11004: tdb: version 1.3.4. o Christof Schmitt <cs at samba.org> * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc. o Andreas Schneider <asn at samba.org> * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11026: nss_wrapper: check for nss.h. * BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG macro. * BUG 11037: s3-libads:...
2015 Feb 24
0
[Announce] Samba 4.2.0rc5 Available for Download
...BSD needs PROT_READ. * BUG 11051: net: Fix sam addgroupmem. o Stefan Metzmacher <metze at samba.org> * BUG 10940: s3:passdb: fix logic in pdb_set_pw_history(). * BUG 11004: tdb: version 1.3.4. o Christof Schmitt <cs at samba.org> * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc. o Andreas Schneider <asn at samba.org> * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11026: nss_wrapper: check for nss.h. * BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG macro. * BUG 11037: s3-libads:...
2015 Feb 24
0
[Announce] Samba 4.2.0rc5 Available for Download
...BSD needs PROT_READ. * BUG 11051: net: Fix sam addgroupmem. o Stefan Metzmacher <metze at samba.org> * BUG 10940: s3:passdb: fix logic in pdb_set_pw_history(). * BUG 11004: tdb: version 1.3.4. o Christof Schmitt <cs at samba.org> * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc. o Andreas Schneider <asn at samba.org> * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11026: nss_wrapper: check for nss.h. * BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG macro. * BUG 11037: s3-libads:...