session cookies - In which file the current user is set in ruby on rails? -


i new ruby. want know when/where current user set. know cookie generated each url request. , session details stored? , current user set(in file). 1 please explain briefly.

it depends on how implement it. if you're using library devise has own implementation, such things stored in encrypted rails session store , on every request 'session' controller verifies visitor's cookie , after current_user set user object session.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -