Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to send username and password through url to http authentication dialog in chrome. i am requesting the url 192.168.3.161\ReportServer in the chrome .it is asking for the username and password in the http authecticaton dialog.how can i send the username and password through http url .
send me some example.
i tried http://administrator:XXXX%40@192.168.3.161/ReportServer/Pages/ReportViewer.aspx?%2fCv_Sent_Tracker_Report+_For_Recruiter%2fCV_Sent_Tracker_Report_For_Testing=&rs:Command=Render&Recruiter=B Kali Siddayya
still i am getting the http authenication dialog again .tell some solution
Posted
Updated 24-Jul-13 19:57pm
v3

1 solution

Try http://username:password@192.168.3.161/ReportServer
if you are using basic auth that will work.
 
Share this answer
 
Comments
kalisiddayya 24-Jul-13 6:31am    
again the dialog is coming .it is not working .In my password i have @symbol also
Guirec 24-Jul-13 23:46pm    
so you should html encode your password prior to the call..
kalisiddayya 25-Jul-13 1:55am    
i encode the password then also it is not working.
http:administrator:XXXX%40//192.168.3.161/ReportServer/Pages/ReportViewer.aspx?%2fCv_Sent_Tracker_Report+_For_Recruiter%2fCV_Sent_Tracker_Report_For_Testing=&rs:Command=Render&Recruiter=B Kali Siddayya.
Guirec 25-Jul-13 2:02am    
encode your password not the @ in the url...

http://encodedusername:encodedpassword@192.168.3.161/ReportServer
kalisiddayya 25-Jul-13 2:14am    
it is not working .i am getting the dialog box again
http://encodedadministrator:encodedXXXXXXX@192.168.3.161/ReportServer/Pages/ReportViewer.aspx?%2fCv_Sent_Tracker_Report+_For_Recruiter%2fCV_Sent_Tracker_Report_For_Testing=&rs:Command=Render&Recruiter=B Kali Siddayya

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900