similar to: Can I peek at all "active sessions"?

Displaying 20 results from an estimated 5000 matches similar to: "Can I peek at all "active sessions"?"

2005 Dec 17
9
How to clear sessions with cron?
Anyone got a quick code snippet I can add to my crontab? Since Rails doesn''t do any housekeeping, my /tmp directory just keeps getting fatter and fatter. I found this useless snippet in the Agile book: find /tmp/ -name ''ruby_sess*'' -ctime +12h -delete Fedora Linux complains about the ''h'' in 12h, then if you remove the ''h'' he
2006 Apr 27
4
Sessions Problems
Hi to group! I am new to ROR! I am facing problems on sessions. First I created the one session variable. after that I created the other one. after moving to three pages the session was destroyed automatically. What is the reason please help me! Thnaks and Regards, -Kumar Varma -- Posted via http://www.ruby-forum.com/.
2006 Jul 07
1
Cronjob / .rb help clearing session table (new to cronjobs)
I just launched my first ROR app and i need to implement the session database cleanup. I am new to cronjobs. I have used one once but it was all copy/paste. I was hoping someone knew of a good tutorial or resource to get started here or might be able to give me a little help. I have seen a lot of posts that reference setting a cron job to clear old sessions but I am not clear on: Can you
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these: No space left on device - ../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3 So i figured that i had too many sessions. I went through and deleted the sessions and then in a few minutes, the site was back up again. Can anyone explain this? Did I do the right thing? Is there a way I can tell my app to accept more
2006 Jun 20
3
Maintaining same session for a user across different PCs
Hi, I''m trying to make a simple shopping cart, where I want to maintain state when a use logs in from different location. Consider the following : 1. ''foo'' logs in from home pc and add ''bar'' item to the cart. 2. ''foo'' goes to office and logs in from office PC. 3. Now I want only one session for ''foo'', so that when
2006 Aug 02
4
Disc quota exceeded when attempting to write session
Hi All, When trying to write sessions file, I''m getting disc quota errors. Looking into the sessions folder, I see: -rw------- 1 www www 188 Aug 2 21:03 ruby_sess.d39a2c77b4750b72 -rw-r--r-- 1 www www 0 Aug 2 21:03 ruby_sess.d39a2c77b4750b72.tmp I''m guessing the the tmp should not be there, as it does not show on my dev setup. I''m using rails (1.1.1)
2006 Apr 01
3
permission denied creating ruby sessions
My code was working, and I upgraded to Rails 1.1, and it seemed to be working after that, but then I suddenly started seeing the following error: Permission denied - /home/will/office/public/../config/../tmp/sessions//ruby_sess.c7da2e7df8df77df /usr/lib/ruby/1.8/pstore.rb:289:in `initialize'' /usr/lib/ruby/1.8/pstore.rb:289:in `transaction''
2013 Mar 07
2
Core dump in 2.2.rc2 with FETCH 1 BODY.PEEK[ALL]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Usingt ./sbin/dovecot --version 2.2.rc2 (7a08461c5559) with Maildir, 2 FETCH 1 BODY.PEEK[ALL] dumps core, bt full is: #0 0x00007fa166e721b5 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007fa166e74fc0 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007fa16721ac47 in default_fatal_finish
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably get less than 100 hits per hour. I just looked in /tmp on the server and there are over 10,000 ruby_sess.* temp files containing: " hash{" flashIC:''ActionController::Flash::FlashHash{: @used{ They''ve piled up so much that I can''t even rm -f ruby*. Bash complains
2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
Please, someone can tell me where session data are stored on Windows, using Webrick in its default configuration? After storing an object into @session, I initially can access only the controller that has stored the object. Otherwise, the html page displays "Not found" and the Webrick console displays: #<ActionController::SessionRestoreError: Session contained objects where the
2006 Jun 22
0
SessionCleanup (clean up sessions within Rails app)
SessionCleanup is a routine to clear out stale sessions from within a Rails application. A Rails application creates a new session for every connection. Over time, this leads to the accumulation of hundreds or thousands of stale session files or session records (if you''re using a database). These sessions are often cleaned out manually or by the use of a cron job. Neither of these
2006 Jun 23
1
BODY.PEEK errors on Beta8?
ERROR: Connection dropped by IMAP server. Query: FETCH 1 (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)]) Will try an update just now. -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry at suretecsystems.com Open Source. Open
2006 May 03
1
sessions, cached pages, and the tmp folder
I''ve been running edge rails for a while but I can''t seem to get my sessions and to be written to the rails_root/tmp folder. My sessions keep getting wrote to the servers /tmp directory. What do I need to do to get rails to use the new tmp folder? Thanks in advance Charlie Bowman www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed...
2018 Nov 15
1
FETCH BODY vs FETCH BODYSTRUCTURE + FETCH BODY.PEEK
Hello, we are developing a web page, for a ticket system, to show the email messages ordered by the biggest attachments size present in an IMAP folder, with a pagination of 100 messages per page. Each raw represents a message with "DATE, FROM, SUBJECT, the preview (the first 500 chars of the text/html of the messsage) and the list of the attachments (name + size) it contains. The
2007 Mar 27
1
Could not peek rid out of sid
New samba deployment; samba 3.0.24 w/ldapsam, em64t (Dell 2900), CentOS 4.4, using nss_ldap with LDAP master and two slaves (OpenLDAP 2.3.32), one Samba PDC (on LDAP master) and two Samba BDC's (on each of the LDAP slaves); no Windows servers; one Linux domain member server (first of several). All four Samba servers use the same LDAP parameters. testparm checks out. All accounts are in
2006 May 12
3
Permission denied ruby_sess?
I am really new to RonR. Anyone can give me a hand with this? I get the Application Error page and if I look at development log, this is what I see: Permission denied - /home/john/public_html/rails/myapp/public/../config/../tmp/sessions//ruby_sess.5b90dd63b9d25d2e Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Aug 13
4
Marking as Read causes Body.Peek on ALL messages - Reasonable?
I've noticed when I select a folder of messages (Thunderbird) and mark them all as read (or unread) it produces the following IMAP transcript: Source Destination Info c.c.c.c s.s.s.s Request: DONE s.s.s.s c.c.c.c Response: 20 OK Idle completed. c.c.c.c s.s.s.s Request: 21 uid store 1:20 -Flags (\Seen) s.s.s.s c.c.c.c Response: * 1 FETCH (UID 1 FLAGS (\Recent NonJunk)) c.c.c.c s.s.s.s
2002 Dec 15
4
Mozilla nacking up to peek inside a vorbis file
Just been doing some simple phrases for Phoenix Online, uploaded the samples in q1 & q3 vorbis- when i click on the links in Mozilla, it opens the file in the window, displaying the files as text. How could i change the html file i've linked them on so that when people click on the links, this won't happen? http://galileo.spaceports.com/~djdij/po/index.html code that works in Mozilla
2012 Jun 25
2
setdiff datframes
hi, I have 2 files example 1 and example 2 and would like to know what is in example2 and not in example1 (attached) V1 contain data which could be in duplicated which I am using as identifiers I used setdiff(example2$V1,example1$V1) to find the identifiers which are specific to example2: [1] "rs2276598" "rs17253672" I am looking for a way to get an output with all
2008 Feb 09
1
how to check the config.action_controller.session options ?
when setting it in my environment.rb config.action_controller.session = { :session_key => ''_myapp_session'', :secret => ''3a64394bb895f1f05e0c07f71127d93d'' } I cannot get it back in the script/console .. :session_key=>"_session_id" !!! why ? >> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS =>