I use the plugin authlogic for my rails application (rails 2).
How the data will be saved in the session via authlogic? It is safe enough?
For example, if I save session[:group_id] = 1 in it, it will be saved on the client PC in a cookie? If yes, how I can change the session-settings, so that It will be saved on the server side and not on client side ?
Do you have any hints, how I can save data in a safe modus, that survives several requests without using a cookie ?
You can choose where to store the session in your application:
In the
config/environment.rbfile:There is also an oficial guide on security when using sessions http://guides.rubyonrails.org/security.html#sessions