Displaying 20 results from an estimated 20000 matches similar to: "The session used in Login-Engine & autologin"
2007 Mar 08
1
autoLogin
I just installed Centos (version 4.4) and wondering how I can change things
so I don't have to login.
I am aware of the security implications for doing this but I would prefer
this if I can do it.
I believe it has something to do with autologin and if so how is this
configured ??
---
Ted Gervais,
Coldbrook, Nova Scotia, Canada
2013 Sep 06
1
autologin-user-timeout
Hello,
in the assumption that I understand them correctly I specified in
/etc/lightdm/lightdm.conf
autologin-user=xxxx
autologin-user-timeout=10
so that after 10 seconds the user xxxx is logged-in automatically.
What happens is that the user xxxx is logged-in immediately i.e. without
any delay.
Do I understand the second variable wrong or am I missing something?
Thanks for any help.
K.D.J.
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from
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 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
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 Feb 13
1
Enabling auto-login
How do you enable auto-login? I went into /etc/lightdm/lightdm.conf, uncommented autologin-user (and set it to = my login name), and uncommented autologin-user-timeout (and set it to = 0).
Is there something else I missed?
--
Jason Hsu <jhsu802701 at jasonhsu.com>
2006 Feb 11
2
Session ID in a cookie?
I''ve been looking around for how to store the session ID in a cookie.
The "Agile Web Development with Rails" books seems to indicate that this
is done by default with Rails. But I don''t see a cookie being set in my
browser. (yeah, they''re enabled)
I poked through the RForum code to find something referencing "cookies"
but nothing came up.
Does
2012 Oct 30
0
Can't set a secure session cookie
I''m trying to set the session cookie secure flag to true. I added the
following to my environments/production.rb
ActionController::Base.session_options[:secure] = true
In the production mode I don''t see the set-cookie header in the server
response (I''m using the Tamper Data Firefox tool to view the traffic). I
tried removing all cookies, manually setting the domain
2007 Oct 04
2
newbie question with login form
hi,
i''m just starting to work with this incredible tool...
but i got a first problem with the login process
i''m logging on my app like this :
------
@agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") }
@agent.user_agent_alias = ''Mac Safari''
@page = @agent.get("http://myappAdress/")
@form = @page.forms.first
2013 Jul 14
2
Rails 4: Session Expiry?
I''ve been Googling this question for the past few hours, and I think it''s
time I simply ask this question myself.
I just made the switch from Rails 3.2 to Rails 4. I''m trying to make sure
I''m as up-to-speed as possible on security issues, and I''m concerned about
sessions right now. It looks like Rails 4 has moved away from supporting
really
2008 Aug 21
0
session cookie missing
I am running RAILS 1.2.6 with apache balancing between a cluster of
mongrel processes. It appears that intermittently the server is not
receiving the session cookie from the browser for certain users.
Wondering what situations could cause this... I know one is if the
user has cookies turned off. Are there other situations where this
could arise? The net effect is that users experiencing this
2009 May 29
1
X11 on 5.3 not ALWAYS autologin
I am running 5.3 on x86_64. I have it set to auto login X11 by editing
the /etc/gdm/custom.conf file.
Seems like it does NOT always auto login. Seems like maybe 75% of the time
it does but then sometimes it doesnt.
How can I find out why it doesnt always login?
when it doesnt I dont see anything in dmesg or /var/log/messages.
Any thoughts are appreciated.
Jerry
2014 Jun 03
0
Wrong tty at autologin
Hello,
I am working on system that use systemd.
On host user session (uid=5000) starts automatically but in container I have following error message:
May 12 00:18:15 localhost user-session-launch[110]: pam_systemd(login:session): Asking logind to create session: uid=5000 pid=110 service=login type=tty class=user seat=seat0 vtnr=1 tty=tty1 display= remote=no remote_user= remote_host=
May 12
2009 Feb 19
1
Switching to ActiveRecord Session Store
I''m having a problem switching from cookie sessions (the default) to
active record sessions.
I''ve created the sessions table via the rake task, uncommented the
line
config.action_controller.session_store = :active_record_store
in my environment.rb file, cleared out my browsers cookies, restarted
the server (natch), but still the it''s using cookie_store instead of
2005 Mar 05
4
''Session id'' hacking?
> Because you mentioned "cookie-hacking": it is very easy to
> take over a rails-session if you know the value of the
> session-cookie. It is not possible to prevent that easily,
> you can just make it harder by encrypting the whole session
> (right from the beginning when the user enters the site,
> and the cookie is created) by using https.
https will encrypted
2004 Nov 09
2
ssh login
sorry - hope this question is not tooo silly,
but i needed to "autologin" to a remote machine
found out that this works fine for me:
sftp -opassword=PASSWORD USER at 192.168.1.1 << EOF
cd ANYDIRECTORY
get ANYFILE
bye
EOF
why isn't this (sftp -opassword=SECRET USER at 192.168.1.1),
setting the password with -opassword=PASSWORD, documentated
anywhere?
bug or feature?
kind
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
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
2006 Apr 16
9
''depot'' app, where''s session?
Many of you probably know the ''depot'' app from the ''Agile Rails
development'' book.
I have constructed the ''products'' model, the Store-controller, and the
''Cart'' and ''Line Item'' classes. I have told Application-controller about
:cart and :line_item:
model :cart
model :line_item
Here''s part of