Displaying 20 results from an estimated 900 matches similar to: "Forcing the session-id"
2009 Nov 12
2
request.session_options broken?
I''m implementing simple "remember me" functionality for logging in
users with Rails 2.3.4. I''m trying to set the session expiration date
for some time in the future. After googling around a bit I found this
post which seems to address my problem:
http://squarewheel.pl/posts/3
My modifications to request.session_options are being ignored.
According to this discussion (
2005 Aug 17
53
Everyone wants a RoR framework
It seems like everyone now has a RoR type framework:
Perl:
http://dev.catalyst.perl.org/
PHP:
http://cakephp.org/
Python:
http://www.django.com
ASP.NET:
http://www.castleproject.org/index.php/Main_Page
etc., etc.
Has a revolution begun with the birth of these "Web 2.0" frameworks?
Its going to be interesting when the tech media begins its mass hype
like it did SOAP, XML, etc. a
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all -
I am trying to get rails to use memcache for sessions and fragment
caching. I''d also like to use the same connection for general caching of
this and that.
I''m following the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore
and hitting a brick wall.
I''m using the new memcache-client since from what I''ve read
2012 Dec 03
2
Rails 3.2 session id nil until next request
Posted this on stack overflow earlier today here<http://stackoverflow.com/questions/13673969/rails-3-2-session-id-nil-until-next-request>,
I really either don''t know what I''m doing, or I don''t understand how
sessions are supposed to work!
I''m connecting to rails from an Air app and communicating with JSON only.
When the client sends a login request,
2009 Jul 02
2
Big help with shared subdomains cookies
Hi, i need that all the subdomains of an app (using subdomain_fu) use
''.domain.com'' as domain for all cookies.
I''ve set ActionController::Base.session_options[:domain] = ''.domain.com''
and it works...for just the session... how can i set this also for
common cookies ? (created with cookies[:name] = {:value => value,
:expires => 6.months.from_now} )
2006 Jan 09
9
Recommendations on a WiFi phone for *?
We're getting our feet more and more wet with VOIP at work. We want to
experiment with a good wireless (as in WiFi) phone. What would be a
good phone to impress my boss with?
I'm personally drooling over the UTStarcom F3000, but compatibility and
shipping ETA info is a bit sketchy.
Phil
2008 Jun 19
5
How do you create one session cookie for multiple subdomains
I am using the restful authentication plugin and am always prompted to
login if a different subdomain is accessed. I have found a couple rails
"solutions", but none of them seem to work:
# development.rb
1. ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key]
= ".localhost"
2. ActionController::Base.session_options[:key] = ".localhost"
Does anyone
2006 Jan 17
10
ActiveRecord + memcache = cached_model
Courtesy of The Robot Co-op.
$ yes | sudo gem install cached_model
Or, you can download cached_model and memcache-client (our zippy-fast
memcache library, required) from:
http://rubyforge.org/frs/?group_id=1266
I don''t have the README posted for making cached_model work online
yet, so here it is:
= CachedModel
Rubyforge Project:
http://rubyforge.org/projects/rctools/
== About
2006 Jun 20
3
Maintaining same session for a user across different PCs
Hi,
I''m trying to make a simple shopping cart, where I want to maintain
state when a use logs in from different location. Consider the
following :
1. ''foo'' logs in from home pc and add ''bar'' item to the cart.
2. ''foo'' goes to office and logs in from office PC.
3. Now I want only one session for ''foo'', so that when
2006 Feb 23
9
Linksys WIP300 WiFi Phone
Whoo hoo! I just received my WIP300 from voipsupply. I have to let it
charge before I can play with it.
A few quick comments:
- I started a Wiki page at voip-info to post issues, firmware news, etc.
I really like the wealth of info on the GXP-2000 page, so I wanted to
start something similar for this phone.
http://www.voip-info.org/wiki/index.php?page=Linksys%20WIP300
- My kit
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
2006 Dec 27
3
ARSession Woes!
I''m having an issue with ARsessions... I have a rails app AND a merb app
both under the same domain... I have redirects working for this to be
seamless... however, the session started on merb is different than the
session started in the rails app... like so..
http://pastie.caboo.se/private/r1ar42qiaekrqjdt6y
Any ideas why?
The only difference I see, but dunno where to change this, is
2009 May 12
1
Running rake test:units yields DEPRECIATION WARNING: Disabling sessions for a single controller...
When I run my rake test:units I get the following:
DEPRECATION WARNING: Disabling sessions for a single controller has
been deprecated. Sessions are now lazy loaded. So if you don''t access
them, consider them off. You can still modify the session cookie
options with request.session_options.. (called from C:/Users/Wayne/
Documents/Aptana Studio/chores/app/controllers/
2006 Jan 05
2
Integrating with Toshiba Strata DK40i KSU
We've done a direct swap of an old Amanda voicemail system with a shiney
new Asterisk system (Asterisk 1.0.9). The system consists of 4 FXO
ports on the * box (TDM400P), and three old Wildcards we aren't using
(too buggy we found).
CO lines-> Toshiba -> FXO ports on *
We want to branch out a little more and use it as an auto-attendant.
The first problem seems to be an asterisk
2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical
impact of whether choosing memory-based tables in MySQL or using memcached.
I got this far on my own:
It seems that MySQL uses the NDB engine for transaction-safe memory access
in a cluster. the memory storage engine seems to be faster but not
synchronizable by any means in a cluster. memcached seems to be ultimately
fast
2003 Nov 14
1
Samba 3 and Mac OS X Jaguar to authenticate AD2003 users
Hi all
My network is splitted in two parts: windows and macintosh, but all the
usernames/password are on a win2003 server (with active directory, of
course). I'd jusk like to allow authentication on both platforms with a
single username, stored in AD. I read somewhere that OS X Server 10.3
has Samba 3 as a default package installed, but I can't unfortunately
upgrade the OS, so I need some
2006 Feb 03
1
No path to translate from Zap to SIP
I'm getting this messages trying to call with one sip trunk:
Feb 3 16:43:09 DEBUG[3389] channel.c: Avoiding initial deadlock for
'SIP/usa-e2ea'
Feb 3 16:43:09 VERBOSE[3491] logger.c: -- SIP/usa-e2ea answered
Zap/1-1
Feb 3 16:43:09 WARNING[3491] channel.c: No path to translate from
Zap/1-1(68) to SIP/usa-e2ea(256)
Feb 3 16:43:09 WARNING[3491] app_dial.c: Had to drop call
2003 Jan 29
1
ANNOUNCEMENT: New Project- Baltra (AFP/SMB services compatibility)
(This is a brief announcement of a focused development/refinement of the
Netatalk project.)
The primary goal of Baltra is to provide a Mac OS X compatible AFP file
sharing service with Samba 3.0 compatibility. We are hoping to have an
AFP file sharing daemon which can run in parallel with Samba 3.0 to
provide seemless file sharing amoungst SMB-based clients (Windows and
MacOS-X) as well as
2006 Jan 10
1
SOLVED: Hung Zap channels connected to old key system
We've got a Toshiba DK system w/ analog ports that went to a
voicemail server. I swapped in an Asterisk box with a Digium 4-port
fxo card. It /almost/ worked perfectly.
The problem is that Zap channels never hang up. They have to time out.
I set up MeetMe, but all Zap channels hung forever. Very annoying.
Same thing for FXO-to-FXO bridges.
I figured out today why and fixed it.
2005 Oct 14
1
join tables and position (acts_as_list)
I''m working on some schema for a new project that we''ll be doing in
rails (our first rails project!).
A recurring structure we are seeing is the desire to define an
ordering any way we wish, so ''acts_as_list'' comes to the rescue.
But, the ''position'' column seems to need to belong in the join table
to make sense.
For example, we have