Storing requested uri in session

hi

i want to store the requested url in session.

here is the requirement say suppose i have page abc on which i have
bidding option which calls bid/id but for that i m required to login.

so first i will be redirected to the login page and if successfully
logged in i will be redirected to bid/id page which i requested.

can any one tell me how to do it?

thanks

On Wed, Apr 1, 2009 at 5:13 AM, Ankit P.
[email protected] wrote:

i want to store the requested url in session.

can any one tell me how to do it?

session[:uri] = request.request_uri


Greg D.
http://destiney.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs