
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
UrlSession stores your session in memcache (dalli), puts session_id to every url and parses it in midleware
$ gem install url_session
Add gem to your Gemfile
gem 'url_session'
configure session_store to use url_session (session_store.rb)
UrlSessionExample::Application.config.session_store :url_session_store, :namespace => 'sessions',
:key =>"_session", :compress => true, :expire_after => 1.day, :cookie_enabled => false, :param => 'session_id'
and include UrlSession in your ApplicationController
class ApplicationController < ActionController::Base
include ControllerAuthentication
protect_from_forgery
include UrlSession::Controller
end
You can put your all routes in session_id scope, if you want (routes.rb)
scope "/(:session_id)" do
resources :sessions
resources :users
resources :posts
...
match '/' => 'posts#index', :as => :root # root :to => 'posts#index' doesn't work here
end
The same like dalli_store plus:
:param => 'PHPSESSID' # name of session id parameter, default 'session_id'
:cookie_enabled => false # try to use cookie before url, default true
FAQs
Unknown package
We found that url_session demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.