get data from call back url

Hi...

I want to get parameters from call back url of my application

ex :-

http://localhost:3000/mail/aa/?hl=ene&zx=gfi1bdfgju6s&shva=1#inbox/11d555fsgw36fd424

as an example these params that attached how can I read when openning page. I want put those values into Session variable.. help me thankx xxmithila

If I am not wrong this should do the trick. In your aa method of mail do something like this session[:callbackurl]=params[:hl]+params[:zx]+params[:shva]

thankx MRBLESS