Displaying 11 results from an estimated 11 matches for "last_access".
2006 Jun 22
0
has_many dynamic conditions
Hello.
I have two models. Channel with last_access field and Item with
created_on field.
They are in one-to-many relation.
class Channel < ActiveRecord::Base
has_many :items
end
class Item < ActiveRecord::Base
belongs_to :channel
end
I want a second has_many relation in Channel, called :new_items which
created_on is newer than last_acc...
2011 Aug 14
5
Puzzled with form on multiple table rows
...quot;,
"utf8"=>"✓", "is_ten_event_ids"=>["5", "12", "20"]}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" =
3) LIMIT 1
AREL (0.4ms) UPDATE "users" SET "last_access" = ''2011-08-14
18:37:42.858005'', "updated_at" = ''2011-08-14 18:37:42.858858'' WHERE
("users"."id" = 3)
Event Load (0.6ms) SELECT "events".* FROM "events" WHERE
("events"."id" IN (5, 12,...
2005 Mar 06
8
Session ids and identification
...to hijack the session. The only way
around this is to verify that a given request is actually originating at
the same client as the authentication. How do you do this?
Create a table that will hold all your connections. Something like this,
session_id bigint not null primary key,
client_ip cidr,
last_access timestamp,
...other stuff... good place to stick your session data :)
After you authenticate a given user, store their IP address and their
session id in the above table. Then when the session id doesn''t match
the authenticated IP, well, you throw the user back to the
authentication scree...
2011 Nov 01
2
xenpaing: one way to avoid paging out the page, when the corresponding mfn is in use.
...|
Check type ok paged out;
|
try to map
What we want is:
When the gfn_to_mfn() action happens during paging nomination, the nomination should abort immediately.
Our solution prototype is like this :
1. Introduce a new member named last_access in page_info struct to save the last access time and access tag.
2. when the mfn is obtained through gfn_to_mfn(), we save time stamp and access tag in the page_info.
3. Paging nominate procedure use access information as a criterion.
How it works?
1.Using time stamp to avoid case 1. When the mfn...
2011 Jan 09
4
IIS Change Notifications
Good afternoon all,
I'm a web developer (c#) who also manages a small hosting environment.
Roughly, our configuration is:
Two IIS7 (Windows Server 2008 Web) servers which share configuration data
and site files from a SMB share located on a ubuntu server.
The ubuntu server is currently running 3.0.28a which is quite old, but read
on.
We've been having a problem with the change
2010 Mar 20
0
Problem with videos on heroku
...;'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/
rails.rb:60:in `serve_rails''
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/
rails.rb:80:in `call''
/home/heroku_rack/lib/static_assets.rb:9:in `call''
/home/heroku_rack/lib/last_access.rb:25:in `call''
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:
46:in `call''
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:
40:in `each''
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:
40:in `call''...
2003 Mar 05
2
Samba-3.0alpha22 available on samba.org mirrors
...blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks)
50) Limit the unix domain sockets used by winbindd (also solves FD_SETSIZE
problem in winbindd to boot !). Adds a "last_access" field to winbindd
connections, and will close the oldest idle connection once the number
of open connections goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS
(defined in local.h as 200 currently)
51) Limit the number of print jobs returned in EnumJobs()
-----BEGIN PGP SIGNATURE----...
2010 Sep 19
4
Rails 2.3.8 - InvalidAuthenticityToken problem. URGENT!
...mber_me"=>"0", "password"=>"xxxxx",
"screen_name"=>"rune"}}
ActionController::InvalidAuthenticityToken
(ActionController::InvalidAuthenticityToken):
/home/heroku_rack/lib/static_assets.rb:9:in `call''
/home/heroku_rack/lib/last_access.rb:15:in `call''
/home/heroku_rack/lib/date_header.rb:14:in `call''
thin (1.2.6) lib/thin/connection.rb:76:in `pre_process''
thin (1.2.6) lib/thin/connection.rb:74:in `catch''
thin (1.2.6) lib/thin/connection.rb:74:in `pre_process''
thin (1.2.6) lib...
2003 Feb 06
1
Samba-2.2.8pre1 available on samba.org mirrors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We've just posted a preview release of Samba 2.2.8 on samba.org.
This is a non-production release provided for testing only.
The final 2.2.8 will only include bug fixes for the 2.2.7a release.
The source code can be downloaded from :
http://download.samba.org/samba/ftp/pre/
The unpcompressed tarball and patch file have been signed
using
2003 Mar 15
0
[SECURITY] Samba 2.2.8 available for download
...allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
27) Doxygen cleanups for code documentation
28) limit the unix domain sockets used by winbindd by adding a
"last_access" field to winbindd connections, and will close
the oldest idle connection once the number of open connections goes
over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently)
29) Fix a couple of string handling errors in smbd/dir.c that would
cause smbd to cras...
2003 Mar 15
0
[SECURITY] Samba 2.2.8 available for download
...allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
27) Doxygen cleanups for code documentation
28) limit the unix domain sockets used by winbindd by adding a
"last_access" field to winbindd connections, and will close
the oldest idle connection once the number of open connections goes
over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently)
29) Fix a couple of string handling errors in smbd/dir.c that would
cause smbd to cras...