Displaying 20 results from an estimated 100000 matches similar to: "Ways to detect if session cookies are enabled?"
2006 Apr 18
1
''depot''app, trouble with session / cookies
Many of you probably know the ''depot'' app from the ''Agile Rails
development'' book.
When the view changes from ''Store'' to ''display_cart,'' a session
containing the shopping-cart (:cart) is supposed maintain the ''cart''
between calls, but when the display_cart stub view shows up, I have
always ZERO elements
2012 Sep 19
1
scraping with session cookies
Hi, I am starting coding in r and one of the things that i want to do is to
scrape some data from the web.
The problem that I am having is that I cannot get passed the disclaimer
page (which produces a session cookie). I have been able to collect some
ideas and combine them in the code below but I dont get passed the
disclaimer page.
I am trying to agree the disclaimer with the postForm and write
2012 Apr 25
8
showing error (gsub) when switching from session to cookies
I am newbie to rail. Trying to develop social networking site so working
with railspace application. Everything is working fine but I stuck in
the problem when i am giving the authorization tocken to the user to
remember him/her.
My Error and controller code is below
Error:-
private method `gsub'' called for 4:Fixnum
C:/Users/Amir/Downloads/IR/ruby/lib/ruby/1.8/cgi.rb:342:in
2009 Aug 20
0
Facebook cookies and cross domain sessions
Hi,
I wonder if can quiz anyone on how to solve a problem. I use our
Facebook app to take payments so we have to access our app outside of
the Facebook Canvas for a few controllers (and only minimally). We have
a system working fine and we have a token based login to ensure its the
same user on the external pages.
The problem is we want to perform an action, set some flash messages
and
2009 May 26
9
cookies are mandatory for Rails app?
is it true that Rails depend on cookies? It seems that flash is a part
of session, and session uses cookies... so when i disable cookie in
Firefox, what was working became
ActionController::InvalidAuthenticityToken
so is it true that for a RoR app to work, cookies are mandatory?
--
Posted via http://www.ruby-forum.com/.
2008 Dec 15
9
Rhapsody errors out on cookies?
I just tried to install the latest version of Rhapsody. Everything is fine until I try to log in. Then it gives me an error that cookies are disabled and asks to enable them. It fails this ad infinitum. Is there anything I can check?
2016 May 02
0
C5.11 FF ESR 45.1.0 Cookies Button not functioning
On Mon, 2016-05-02 at 16:53 +0100, Always Learning wrote:
> firefox-45.1.0-1.1.el5.centos
>
>
> Clicking:-
> Edit
> Preferences
> Privacy
> Show Cookies
>
> no longer works. It always did function before the upgrade to FF 45.
SOLVED.
Adblock Plus blocked the 'moz-safe-about:blank' frame.
Do not understand why 'moz-safe-about:blank' frame
2016 May 02
1
Re: C5.11 FF ESR 45.1.0 Cookies Button not functioning
On Mon, 2 May 2016 18:01, Always Learning wrote:
> On Mon, 2016-05-02 at 16:53 +0100, Always Learning wrote:
>> firefox-45.1.0-1.1.el5.centos
>>
>>
>> Clicking:-
>> Edit
>> Preferences
>> Privacy
>> Show Cookies
>>
>> no longer works. It always did function before the upgrade to FF 45.
>
> SOLVED.
>
> Adblock Plus
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers!
Is it just me or does Camping init the session twice on a redirect?
If I have an app and when the user visits it for the first time, a
session is generated. Afterwards I redirect the user in a service
(that basically does auth) and he gets bounced to the login page -
but when I arrive at the login page my SID somehow has changed :-( so
there is a stale session dangling
2009 Sep 25
0
Authentication with Cookies instead of CookieStore Sessions
I would like to persist the user authentication between user sessions
(basically a "remind me" by default).
Sessions expire while cookies persist: why should I use a session for
authentication and then another different cookie for the "remind me"?
Can''t I simply store a cookie whith a token and use it for both
authentication and persistence?
--
Posted via
2003 Oct 12
0
idea (and patch): connection cookies
I have an idea for a protocol extension to limit the exposure of the
complex crypto code in ssh servers. It's like tcp-wrappers, but based
on a secret token rather than IP address.
Patch against openssh-3.7.1p2:
http://nick.cleaton.net/openssh-cc-0.03.patch
Details
=======
The "Connection Cookies" mechanism is an unofficial ssh protocol
extension designed to prevent attackers
2016 May 02
2
C5.11 FF ESR 45.1.0 Cookies Button not functioning
firefox-45.1.0-1.1.el5.centos
Clicking:-
Edit
Preferences
Privacy
Show Cookies
no longer works. It always did function before the upgrade to FF 45.
--
Regards,
Paul.
England, EU. England's place is in the European Union.
2006 Jan 08
6
Persistent session cookies?
It seems Rails sessions by default only last, well, a browsing session.
If the Rails app keeps track of logged-in state by sessions, that state
doesn''t survive restarting the browser.
How best to change this behaviour, to make the session cookie live
forever, or at least beyond browser restarts?
It was suggested to me on IRC to combine sessions with code to generate
a unique id and
2006 Jan 10
0
problem with cookies in tests (TDD)
The problem I''m having is that I can''t seem to destroy the cookies and
assert that they were indeed destroyed inside the test.
The code to do this does work - the cookies are created, and are
destroyed when this is done in a browser, but I can''t seem to make the
test pass.
account_signup_test.rb
def test_should_pass_if_logout_destroys_cookie_data
post :login,
2006 Feb 19
0
Re: can store array or hash in cookies?
Not a bug. A cookie is just a string. You can turn anything into a
string and store it in a cookie. Something very simple like the
following might work for you:
array_for_cookie = [1,4,5,7]
cookies[:foo] = array_for_cookie .to_s
array_from_cookie = cookies[:foo][1..-2].split('','')
(And if you are just storing a single integer in a cookie be sure to
turn it into a
2012 Jun 07
1
How to set cookies in RCurl
Hi,
I am trying to access a website and read its content. The website is a
restricted access website that I access through a proxy server (which
therefore requires me to enable cookies). I have problems in allowing Rcurl
to receive and send cookies.
The following lines give me:
library(RCurl)
library(XML)
url <- "http://www.theurl.com"
content <- readHTMLTable(url)
content
2010 Jun 20
6
[Bug 1785] New: configurable timeout for x11 cookies
https://bugzilla.mindrot.org/show_bug.cgi?id=1785
Summary: configurable timeout for x11 cookies
Product: Portable OpenSSH
Version: 5.5p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2006 Nov 24
0
Maybe a bug in Cookie:cookies
Hi man,
Thank you very much for your good work.
I think there may be a bug in Mechanize 0.6.3. Cookie:cookies (cookie.rb:L83
)
@jar[domain].each_key do |name|
=> if url.path =~ /^#{@jar[domain][name].path}/
if @jar[domain][name].expires.nil?
cookies << @jar[domain][name]
elsif Time.now <
2006 Jan 07
2
can store array or hash in cookies?
Hi
According to rdoc: value - the cookie''s value or list of values (as an
array).
So, I can use arrays, briliant.
But.... It does not work (at least on webrick)
I wrote a controller:
def check_cookies_first
cookies[:chef] =
{:value => ["first", "second"], :expires => Time.local
(2020)}
render_text ":)"
end
def
2001 Nov 15
2
X11 cookies and forwarding
I'm guess I wasn't following the whole cookies discussion completely
(putting cookies in /tmp to avoid putting them on NFS, etc.), but I
noticed today that with 2.9.9p2, if I use "ssh -X" to start a shell on the
server, in that shell XAUTHORITY is set to /tmp/ssh-XXXXXXXX/cookies and
there are cookies placed there there. These are the "fake" cookies for
the