Displaying 20 results from an estimated 1000 matches similar to: "Maintaining same session for a user across different PCs"
2006 Jun 22
1
Problem integrating rails into apache
Hi all,
I''ve read the guide on integrating rails into apache on the
wiki.rubyonrails.com wiki, but I run into a problem.
I am trying to get the cookbook application as treated in the onlamp
tutorial about ruby on rails to work form apache. I can view the
index.html, but visiting cookbook/recipe/list gives me
Application error
Change this error message for exceptions thrown outside
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
=>
2008 Sep 26
2
Preventing Mongrel/Mysql Errno::EPIPE exceptions
I have a rails app serving up XML on an infrequent basis. This is being
run with mongrel and mysql. I''ve found that if the app does not get
exercised for longer than a few hours it goes dead ("Lost Connection to
MySQL") and starts throwing Errno::EPIPE errors. It seems that the mysql
connection gets timed out for inactivity or something like that.
It can be restarted with
2016 Aug 05
4
Fwd: Re: Encrypt /decrypta file with ssh keys.
As per Alex's suggestion, attached is the proof of concept "sfile"
script. If there is anyone out there with great C skills who can
recreate this functionality "out of the box", I think there would be a
few happy campers (at least two, anyways).
-------- Forwarded Message --------
Subject: Re: Encrypt /decrypta file with ssh keys.
Date: Fri, 5 Aug 2016 17:24:35
2006 Apr 29
3
undefined class/module
Hi,
We are running a Rails application in development mode. Intermittenly we
get an error on some pages, saying : undefine class/module User. If we
refresh the page, the error goes away and we see the html correctly
rendered. User is a model defined in the models directory and has been
listed in application.rb as model :user.
I am suprised by the fact that this happens only occasionally. Can
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 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)
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 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 Jan 27
1
[AGI 1.4] C sample?
Hello
I'm pretty much a newbie when it comes to C, but I have to use
this language to write a couple of AGI proggies because I need them to
be statically compiled.
Strangely enough, Google didn't return much when looking for the
"Hello, world!" of AGI in C.
The following doesn't work: The file never gets written:
===========
//check_cid.c
#include <stdio.h>
#include
2006 Mar 09
2
turn off auto increment
Hello,
I have an old table that handles sessions. the primary key is a field
called session_id and is the actual session id like "8df838303ufdfu838"
however when i do the following in the model:
set_primary_key "session_id"
and the following in the controller:
@session_hash = { "session_id" => @session.session_id, "session_user_id" =>
2006 Jun 28
3
Best way to structure this?
I''m thinking of an application in which a user can request for different
items (like office stationery). So, I have a table of users and a table
of requests. The thing is that depending on the item requested, the
parameters are different - for example, pens may have {colour, width,
type} while paper may have parameters such as {colour, size (A4,
letter, legal), stack size,
2008 Nov 19
1
Assistance needed on using mount.smbfs (cifs) to authenticate to samba server with encrypt passwords = No.
Greetings,
I am working on getting mount.cifs version: 1.11-3.2.4 on debian to
mount a share on a samba server Version 3.0.13-1.1-SUSE on SuSe. This
was working on older debian systems, but upon upgrading some of the
systems to Lenny I am now having trouble mounting shares. Again, this
was working and I have smbfs installed on the systems (which is what I
used before).
The samba server is set
2018 Jun 12
8
[PATCH 0/3] Use sbitmap instead of percpu_ida
Removing the percpu_ida code nets over 400 lines of removal. It's not
as spectacular as deleting an entire architecture, but it's still a
worthy reduction in lines of code.
Untested due to lack of hardware and not understanding how to set up a
target platform.
Changes from v1:
- Fixed bugs pointed out by Jens in iscsit_wait_for_tag()
- Abstracted out tag freeing as requested by Bart
2018 Jun 12
8
[PATCH 0/3] Use sbitmap instead of percpu_ida
Removing the percpu_ida code nets over 400 lines of removal. It's not
as spectacular as deleting an entire architecture, but it's still a
worthy reduction in lines of code.
Untested due to lack of hardware and not understanding how to set up a
target platform.
Changes from v1:
- Fixed bugs pointed out by Jens in iscsit_wait_for_tag()
- Abstracted out tag freeing as requested by Bart
2007 Mar 02
2
MBOX to MAILDIR conversion
Thinking about going from mbox to maildir. Started with mbox way back
when but thinking about making the conversion. The main reason is that I
use rsync for backups and when these huge mailboxes are touched I have
to copy the whole thing. With maildir I only copy the files that change.
So - my questions is - what's the easiest way to make this happan. I
assume there are conversion
2006 Jun 19
9
Railsday 2006
Can you guys post a demo of your application ?
Would be great.
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
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/.
2014 Jun 20
3
[LLVMdev] Inline Assembly in IR
Dear,
Can anybody comment on inserting inline assembly in LLVM IR?
--
Pratik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140620/03400e95/attachment.html>
2015 Feb 20
2
sipsak 200 for a user, but 404 for a different user...why?
What's the difference between user "123" and "devries"? Based on the
output here, they seem the same..?
tleilax*CLI>
tleilax*CLI> sip show users
Username Secret Accountcode
Def.Context ACL Forcerport
201 password 201
default No Yes
123