I have a database and .net driven login section to my website. the code was done in c# and runs on an IIS server. recently some update changed the way the code works not allowing users to log in. I have traced the issue to a piece of code but am unable to figure out the fix.
sample of the code here:
private static string[] getCreds()
{
HttpRequest Request = [login to view URL];
if ([login to view URL]["Authorization"] == null || [login to view URL]["Authorization"].Length == 0)
return new string[] { [login to view URL], [login to view URL] };
return [login to view URL]([login to view URL]([login to view URL]["Authorization"].Split(new char[] { ' ' })[1])).Split(new char[] { ':' });
}
It doesn't seem to be passing the user name along to the rest of the program
I need to fixed and the original coder is no ,longer around.