I'm working on a simple ASP.Net page (handler, actually) where I check the value of the LOGON_USER server variable. This works using Visual Studio's built-in web server and it works in other sites deployed to the live intranet site. But it doesn't work on the IIS instance on my local XP machine. How can I fix it, or what's going on if...
What does the utmscr and/or utmcct values mean in reference to the Http cookie Server variable? Are they acronyms or short for something?
We are getting Elmah errors with the title "System.Web.HttpException: Unable to validate data." In each Elmah error message, the Http Cookie server variable value contains a property called utmscr s...
Does anyone have any information regarding the cert_cookie server variable and how it is generated? I can not find any information on this variable except that it "returns the unique ID for client certificate as a string."
It's only available on an HttpClientCertificate in ASP.NET, or via the server variables collection. If you look...
Is there any pitfalls or downsides to relying on $_SERVER['HTTP_ACCEPT_LANG'] for language detection?
...
I'd like to use some server tags inside a Javascript function:
<%=Model.HtmlProperty%>
In the past I have stored this value in a hidden input field, but when a property contains HTML you get problems with special characters such as quotes. I would like to avoid having to encode and decode in the controller to avoid problems with spec...
When would you consider using one over the other and why?
...
I have fileA.php on SERVER_A and fileB.php on SERVER_B
fileB.php makes a curl request to fileA.php for it's contents
How can fileA.php determine that the request is coming specifically from fileB.php?
--
I was thinking about sending the $_SERVER['SCRIPT_NAME'] in fileB.php to fileA.php but since someone can go into fileB.php or any f...
Hi, is it possible to invoke server variables in the external .js file ?
[Edit]
OK, I resolved the problem, thank for Your help ! :)
...
Going off of my other question and its pair.
I'm looking to grab the Hostname:Port value as found in the phpinfo() function. I can't seem to find it anywhere and it's not in $_SERVER.
...
I have a need to be able to identify one system from another in ASP.Net using anything available in HttpContext. I've attempted to use many of the ServerVariables available, but often the systems are configured from a drive built off of an image. So, because of the firewall their IP address is the same and all of their ServerVariables (b...
I suppose this isn't a huge deal, since there are other way around this issue, but I'm really curious as to the answer, since I thought this was possible to do.
I have a public property that returns a boolean in my code behind. I'd like to access this server variable in my javascript validation function, but so far, not quite getting it...
I'm going to develop a website in codeigniter. But not sure if the methor i'm going to use is the best approach. There will be many addon domains for the same site. But content will be filtered based on the domain used to visit the site.
For Example If a user comes from the domain
siteusa.com then the content will be shown filtered a...