Storing requested uri in session


#1

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


#2

On Wed, Apr 1, 2009 at 5:13 AM, Ankit P.
removed_email_address@domain.invalid 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/