Https referer is null




















Resolved my issue. Clear instructions. Easy to follow. No jargon. Pictures helped. Didn't match my screen. Incorrect instructions. Too technical. User posted I have a problem i cant seem to understand nor solve. Will describe my page. MapPath context. QueryString[ "file" ]. Equals HttpContext. FileInfo strFileNamePath ; context. Name ; context. AddHeader "Content-Length" , myFile. ToString ; context. WriteFile myFile. FullName ; context. That was always the behavior until not too long ago, then it all of a sudden was always null.

Quite strange. What I just found totally bizzaro was that it WAS working last week at some point. Then all of a sudden anywhere I looked in my application, it was set to null. I'm doing some more digging around to see if I can find the 'cause and a potential fix. If I find it, I'll post it up. I run NAV on my workstation. I tested from my MacBook and the code executes as it should.

I think I've found the cause of the problem. Warning: This header may have undesirable consequences for user security and privacy. See Referer header: privacy and security concerns for more information and mitigations. An absolute or partial address of the web page that makes the request.



0コメント

  • 1000 / 1000