Displaying 20 results from an estimated 20000 matches similar to: "getting active sessions"
2006 Mar 18
2
redirect killing dispatch.cgi
hi, having a maddening problem with a redirects between controllers.
app is working fine on my two local machines, a mac and a pc, with either
webrick and lighttpd/cgi on either machines.
i move it to my hosting provider and try to get it working with apache + cgi,
most of it works, but it fails at a specific spot, and causes dispatch.cgi to
hang indefinitely. nothing shows up at all in the
2006 Apr 24
1
Just a couple questions on how I should go about
> I need a simple blog with categories and comments and an archive. I want a
> nice posting system, but don''t want it in HTML. Is there something I can add
> or make, kind of like BBCODE?
http://whytheluckystiff.net/ruby/redcloth/
http://wiki.rubyonrails.org/rails/pages/RedCloth
> I pretty much know what else I have to do, but there is one more thing. A
> client section.
2006 May 05
4
Is sanitize() strong enough to protect me from XSS?
Haven''t been able to find a good enough answer on whether using
sanitize() is enough to really protect me from XSS attacks
I basically have a blog page that I want to allow people to display
comments on but would like to allow html tags to be posted on the
comments, these could html tags like the imageshack img tags, youtube
player, photobucket img tags etc
any other approaches or
2008 Dec 15
1
Horde IMP w/ dovecot folder list
Hi!
I'm using dovecot-1.1.7, Horde-3.3.2 and IMP-4.3.2.
The left-side folder list has some folders, whos names contains
localized (non-ascii) characters. This is displayed correctly when I
select the "English (American)" language entry on the login page from
the dropdown menu. But when I choose my locale, which is "Magyar"
(Hungarian), the folders won't display
2006 Apr 22
2
ruby/amazon isssue
hi all. we''re using the ruby/amazon library
(http://www.caliban.org/ruby/ruby-amazon.shtml), which totally rocks. but i''m
noticing that when nobody has used our site in a while (it''s under development,
so basically nobody uses it at night), the ruby/amazon calls sometimes fail.
seems like something times out, perhaps. anybody have similar issues, or know
what might be
2006 Jun 17
2
preventing indexing of an acts_as_ferret''d model?
Hi, this is hopefully an easy one, but I''ve gone through the api and searched
past forum entries, and am drawing a blank.
I have a model that with acts_as_ferret mixed in to it, which is working fine.
But I want users to be able to set a ''private'' attribute on the model, and when
it''s set to true, create and update methods would skip indexing. So, how can I
2009 Mar 10
2
R equivalent to MATLAB's "whos" Command?
By any chance is there an R equivalent to MATLAB's "whos" command?
I tried searching R and R-seek, but didn't really come up with anything.
There are several items I would like to make sure are stored in the workspace and check their values.
Thank you again for your help and any feedback.
> ?workspace
No documentation for 'workspace' in specified
2007 Mar 19
4
Active session list
Hi all
Does anybody know how to get active session list or list of active
session ID in RubyOnRails?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2003 May 29
0
sbsize and active ftp sessions (login.conf)
I noticed with active ftp clients (specifically IMP's .forward modification
plugin), an sbsize of something under 32M in /etc/login.conf on the target
server now gives
Can't create data socket (M-^A> (^A,_<F5>^R(^C): No buffer space available.
in the ftp logs. What is a safe value to prevent users from abusing the
system by eating up all mbufs ? There is a local DoS if
2006 Jun 10
3
Weird Problem With Active Record
Is it me or is my model getting the created_at from the wrong model!
I have a HABTM relationship between Problems and Tags. In one of my
controller I do the following:
def view
@tag = Tag.find_by_name @params[:id]
end
In my view I do this:
<% @tag.problems.each do |problem| %>
...
<%= problem.created_at %>
...
<% end %>
Now, how come the created_at
2008 Apr 11
0
Active Record Sessions only work on localhost
Hi I was wondering if anyone else was having this problem or might
know why its happening.
I basically need to use AR sessions instead of the default pstore for
sessions so I did the rake db:sessions:create to get the migrate file
and then the rake db:migrate to create the session table.
Also uncommented the below line in environment.rb
config.action_controller.session_store =
2007 Mar 15
0
SOLVED: Getting info from an Hpricot::Elem
I knew as soon as I hit the enter key, the intelligence would feed my
brain. The answer to this is:
elements[1]["value"]
Easy Peasy....and why not? (there is a pun there if you can see it)
Thanks for listening.
Mike B.
----- Forwarded message from barjunk at attglobal.net -----
Date: Wed, 14 Mar 2007 17:49:57 -0800
From: barsalou <barjunk at attglobal.net>
Reply-To:
2011 May 09
1
List active user sessions
Hi,
We are using the following to manage sessions using memcache in our ruby
app:
use Rack::Session::Memcache, :key => "rack:session"
I want to list the users who are currently logged in. Can you someone tell
me how I can the sessions currently active? I could not find anything about
it in the documentation.
Also, how do set a "maximum session timeout" for these
2006 Jul 04
0
removing stale active record sessions
I have an application that is used by only a small number of persons.
This app stores its sessions in the database. When the user logs out,
the session is removed, but of course, there is always the possibility
that the user will forget to logout, and the session will go stale.
In other webapps, I have used a sweeper ruby script that I run as a
cron job to periodically clean these out. But I
2009 Aug 31
1
Active IMAP sessions per server?
Hi,
I'm curious about some of the larger dovecot installs out there and what
your current active user load looks like per server. Realistically, how
many active IMAP sessions are some of you maintaining? At what point did
you find the load became unmanageable? I know there's a lot of different
factors involved in this, but I'm just looking to get a rough idea of
what I can expect
2006 Jun 22
4
Can I peek at all "active sessions"?
My users need to login to run the app I''m building. I''d like to give
them an "Other users currently active:" piece of information. I could
track it myself in the database based on login/logout, but that doesn''t
really count for people just leaving the computer logged in and never
coming back. Does Rails have an API for me to monitor sessions and take
a
2010 Sep 08
2
Rails 2.3.9 breaks sessions with Active Record or Memcache store
A Rails 2.3.9 app with Active Record or Memcache session store will never
send the session ID cookie to a client if the client doesn''t send any HTTP
cookies in its requests. Rails integration tests didn''t catch this because
they always send the HTTP_COOKIE header, even if it''s empty.
This is a huge bug, as it can break keeping sessions on sites which don''t
set
2006 Jun 09
1
Database file to copy for active sessions.
How can I copy all the contenent of the asterisk database to another
machine?
I want copy all the active sessions from one asterisk@home to another one
and running on the second(this I can do using vrrp protocol, it isn't a
problem), I want copy only all the active sessions and softphone
registrations to another asterisk@home and then run on it.
-------------- next part --------------
An HTML
2005 Jul 06
3
sendmail + plain auth
I'm probably missing something obvious, but I can get sendmail to give me AUTH
PLAIN and LOGIN options.
What I have is fairly standard configuration. The relevant part of sendmail.mc
looks something like this:
define(`confCACERT_PATH',`/etc/ssl/certs')
define(`confCACERT',`/etc/ssl/ca-bundle.crt')
define(`confSERVER_CERT',`/etc/ssl/smtp.crt')
2006 Jan 14
11
nuby: do models have to inherit directly from ActiveRecord?
Hello,
I have a few models -- book, cd, dvd -- for which I''d like to have an
abstract base superclass to hold some common stuff. That abstract class, I
was thinking, would inherit from ActiveRecord.
Didn''t work, though, and looking around, I found this:
<http://wiki.rubyonrails.com/rails/pages/HowtoMakeAbstractModel>