Displaying 20 results from an estimated 1000 matches similar to: "Problem with cookies in CGI mode"
2008 May 23
8
An issue for consideration
We''ve just come across an issue for consideration. I am avoiding some
words which would allow people to find this message in an internet
search who have questionable intentions, but wish to communicate a
strong sense of caution. Consider someone who adds extra methods to
their controller which they use in their main get/post methods to do
things or to get secret data. Consider
2008 Jun 03
8
@@state_secret
I was having some issue getting the class variables in
Camping::Session to work with some old apps, so I''ve changed
@@state_secret to a method.
module Blog
include Camping::Session
def state_secret; "kxxxx" end
end
Also, merged some of zimbatm''s patches. And trying to revive the
Junebug wiki <http://github.com/why/junebug> since it''s still
2008 May 19
6
Sample Code, quick simple openid auth
You''ll need to install the ''openid'' gem for this, and require it in
your camping app:
class Login < R ''/login''
def get
this_url = ''http:'' + URL(''/login'').to_s
unless input.finish.to_s == ''1''
# start doing the auth here
begin
2008 Jun 06
7
Attention Judofyr: Broken cookies in 2.0
Hey Judofyr! Fix this! When someone sets a cookie using
@cookies.something = ''data'' it should be set with the path going to
the camping app''s root, not with no path, otherwise only that
controller with the same parameters will ever see the cookie again!
Please change this code:
> @cookies.each do |k, v|
> @response.set_cookie(k, v) if o[k] != v
> end
2008 May 17
4
Setting cookies in service overloader thingo
I''m implementing a simpler version of the Cookie Session Store in
Rails 2.0. If you know what that is, skip the next paragraph.
A cookie session store stores the session data inside cookies, on the
client, and signs them using a secret string, hashed together. The
user can decode the cookie easily if they know much about computers
and see what''s inside, but they
2008 Jun 06
2
Messy Cookies
It looks like everyone has tried to fix the cookies lately, and no-one managed
to get it 100% correctly.
The current implementation doesn''t set the path correctly, and you can''t use
@cookies in a #service-overload.
Qwzybug''s patch fixed only the sessions.
Jenna''s patch won''t allow to set complex cookies (@cookies.key = {:path =>
"/path",
2008 May 24
19
Camping 2.0 - What''s left?
I''ve just sent a pull-request to _why with my changes[1] and here is some
things that I think needs to be done before a (possible) release:
* The cookie session is named Camping::Session and is placed in
camping/session.rb. Maybe this should be called Camping::CookieSession or???
* The ActiveRecord session is named Camping::ARSession and is placed in
camping/ar/session.rb. Maybe it
2012 May 02
17
ChillDB License
A few of you sounded interested in using it. I haven''t explicitly put a software license on it, so I guess it''s not technically FOSS yet. What licenses are good? BSD? Public Domain?
?
Jenna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/camping-list/attachments/20120502/96b87580/attachment.html>
2008 Aug 07
3
GlusterFS
Hi everybody,
We use a Dovecot setup with GlusterFS. Dovecot 1.1.2 and GlusterFS
1.3.9. I enabled the following options (I don't have posix-locks
translators):
lock_method = dotlock
dotlock_use_excl = no
mmap_disable = yes
mail_nfs_index = yes
mail_nfs_storage = yes
I receive the following error message.
Aug 7 09:38:51 mta2 dovecot: POP3(somebody at domain.tld):
nfs_flush_fcntl:
2003 Nov 10
1
Problems with Linux 2.6
I'm running Dovecot under PLD GNU/Linux, on two servers. Under kernel
2.4, it works wonderfully. Under 2.6, I get this in the log:
Nov 9 21:36:38 polis dovecot: Dovecot starting up
Nov 9 21:36:39 polis imap-login: setuid(97) failed: Resource
temporarily unavailable
Nov 9 21:36:39 polis imap-login: setuid(97) failed: Resource
temporarily unavailable
Nov 9 21:36:39 polis pop3-login:
2011 Dec 06
3
Riak on Camping
Good day, does anyone here have a clue on how to make use of the NoSQL
database "Riak" with Camping?
I am building my website and Riak seems like pretty much the ultimate
database!
This would probably ruin every little feature in ActiveRecord, I don''t
think I''d be able to do any has_many''s or belongs_to
but I''d LOVE to be proven wrong. As far as
2008 May 21
32
Rack, Camping 2.0++
===
1. Camping on Rack
===
I''ve just finished rewriting Camping to use Rack in the "core". I got rid of
(a little less) than 1kB in camping.rb and removed lots of un-necessary files
(lib/server/*.rb, fastcgi.rb & mongrel.rb).
bin/camping does now only provide WEBrick, Mongrel and console-support and
should only be used in development. It uses Rack::ShowExceptions to catch
2008 Jul 19
2
Resolved: Apache + CGI/FastCGI + mod_rewrite
This is the last time I try to fix something in the middle of the
night! Feel free to call me a Stupid Snake, ''cause this has been
messy. Anyway, I think I''ve finally solved this.
Here it is: http://pastie.org/237138 :-)
--
Magnus Holm
2007 May 18
2
TentSteak First Release
Hey all,
I just pushed out the inaugural release of TentSteak 0.1.0, a set of
Camping/Markaby helpers to minimize the busywork in your views (or
was that the "viewwork in your busies"?). It includes lotsa HTML
form and table helpers, plus a little bootstrapper to make it easy to
load in shared helper modules of your own.
Please check it out and let me know what you think.
2005 Aug 05
8
asterisk registered in ser proxy
is it possible to register asterisk in a sip proxy as
if it were a terminal (like a cisco ATA)? how?
Thanx
Jenna ;)
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
2005 Oct 03
2
Real Life FAX sending receiving
is it possible to achive the following scenario?
faxmachine--tdm40bFXS--SIPnetwork--Gateway--faxmachine
i have found a lot of documents about asterisk
receiving a fax and saving it to a file. But i want to
receive the fax via SIP and send it to my faxmachine.
I also want to send a fax from my faxmachine through
the digium card, so asterisk should send the fax via
SIP to the gateway, which also
2008 Jun 06
0
Quickie: URL Shortener''s, some code.
The wiki won''t let me make new pages anymore, so I put it on my own
site.
http://creativepony.com/journal/scripts/url-shorteners/
I hope it helps someone!
?
Jenna
2009 Aug 10
12
v2.0 configuration parsing
I'm trying to figure out how exactly v2.0 should be parsing
configuration files. The most annoying part is if it should always just
"use whatever comes first in config" or try some kind of a "use most
specific rule". The "most specific" kind of makes more sense initially,
but then you start wondering how to handle e.g.:
1) User logs in to imap from 192.168.0.1.
2001 Jul 05
1
2.2.19/0.0.7a assertion failure
While ripping one of my cds on my laptop this happened:
Message from syslogd@theirongiant at Thu Jul 5 09:52:16 2001 ...
theirongiant kernel: Assertion failure in do_get_write_access() at transaction.c line 551: "handle->h_buffer_credits > 0"
from the kern.log:
Assertion failure in do_get_write_access() at transaction.c line 551: "handle->h_buffer_credits > 0"
2001 Jul 09
1
ext3 and kernel 2.4.5
Hallo!
Is it possible to use ext3 with kernel 2.4.5? If so where can I find the sources? On redhat´s site I can only find souces for kernel 2.2.x.
Bye
Markus
networks & security
StairWeb GmbH
Markus Eckerl
Markus Eckerl
ME5810-RIPE
ME5810-RIPE
Dr.-Ernst-Derra-Str. 4
Dr.-Ernst-Derra-Str. 4
94036 Passau
94036