Sarath Kumar

Sarath Kumar

  • NA
  • 443
  • 338.4k

retrieve values from url

Aug 21 2014 6:35 AM

Hi,

In my application i am using gmail authentication. after successful authentication i am getting one url. from that url i need to retrieve parameters like Userid,Email,username.

actually, after authentication i am redirecting to my application. getting this url.

http://localhost:4106/Home.aspx?dnoa.userSuppliedIdentifier=https://www.google.com/accounts/o8/id&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud&openid.response_nonce=2014-08-21T09%3A21%3A16Z0DpNRH4ir0R-Pw&openid.return_to=http%3A%2F%2Flocalhost%3A4106%2FHome.aspx%3Fdnoa.userSuppliedIdentifier%3Dhttps%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid&openid.assoc_handle=1.AMlYA9W2ACW6paWmHPB8vtfNI5o7peSXMnOCAnaLL61GwSYfDlrdwor4eZWIo9taB6wqu4BrmTJpGg&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.alias2%2Cext1.value.alias2%2Cext1.type.alias3%2Cext1.value.alias3%2Cext1.type.alias1%2Cext1.value.alias1&openid.sig=S%2Bhyop6jjijN%2Byy7S5v%2ByU7%2FKmb2F1xfR02w3NZ7ngw%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlP5p52x52AY-7PyTdCVKuflzM3C-rOK58&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlP5p52x52AY-7PyTdCVKuflzM3C-rOK58&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ext1.mode=fetch_response&openid.ext1.type.alias2=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&openid.ext1.value.alias2=test&openid.ext1.type.alias3=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast&openid.ext1.value.alias3=kumar&openid.ext1.type.alias1=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.ext1.value.alias1=test%40gmail.com#


i need to retrieve the parameters from this url. if anyone knows please help me......... 


Answers (1)