I am passing username and password direct into a url. its stopped working after few days. now url is now opening. is there any other method to pass credentials deirectly into url so my url can work without popup.
this is the part of my code-
function UserByCamera(CameraId)
{
tree_country_id = 0
tree_building_id = 0;
tree_location_id = 0;
tree_company_id = 0;
tree_camera_id = CameraId;
$.ajax({
type: "Get",
url: "/VideoCamera/ByCamera",
data: { cameraId: CameraId },
success: function (result)
{
var IPAddress = result.IP;
var UserName = result.UID;
var Password = result.PWD;
var slash = "//";
var colon = ":";
var attherate = "@";
var http = "http";
var mainurl = http + colon + slash + UserName + colon + Password + attherate + IPAddress;
$("#frame").attr("src", mainurl);
}
});
return false;