0
Run gpedit.msc
Navigate to the following folder: Local Computer Policy –> Computer Configuration –> Windows Settings –> Security Settings –> Local Policies –> Audit Policy.
Double-click the Audit logon events policy setting in the right pane to adjust its options.
TO view in event Viewer
Navigate to the Windows Logs –> Security category in the event viewer.
Look for events with event ID 4624 – these represent successful login events.
http://www.howtogeek.com/124313/how-to-see-who-logged-into-a-computer-and-when/
Here you can search for all event ID (search for category Logon/Logoff)
http://www.myeventlog.com/search/find
Here is the list of Event ID related to log
http://technet.microsoft.com/en-us/library/cc787176(v=ws.10).aspx
672,673,674,675,676,677,678,681,682,683
Posted on 3:58 AM by Softminer and filed under
Windows
Run gpedit.msc
Navigate to the following folder: Local Computer Policy –> Computer Configuration –> Windows Settings –> Security Settings –> Local Policies –> Audit Policy.
Double-click the Audit logon events policy setting in the right pane to adjust its options.
TO view in event Viewer
Navigate to the Windows Logs –> Security category in the event viewer.
Look for events with event ID 4624 – these represent successful login events.
http://www.howtogeek.com/124313/how-to-see-who-logged-into-a-computer-and-when/
Here you can search for all event ID (search for category Logon/Logoff)
http://www.myeventlog.com/search/find
Here is the list of Event ID related to log
http://technet.microsoft.com/en-us/library/cc787176(v=ws.10).aspx
672,673,674,675,676,677,678,681,682,683
0
X-UA-Compatibility Meta Tag and HTTP Response Header
http://msdn.microsoft.com/en-us/library/ff955275(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ff955410(v=vs.85).aspx
Starting with IE11, document modes are considered deprecated and should no longer be used
If a webpage is retrieved from a website in the Local intranet zone (see "About URL Security Zones" at [MSDN-SECZONES]), IE7 mode is used.
Internet Explorer displays webpages that contain the HTML5 document type in standards mode, which provides the highest support available for established and emerging industry standards, including HTML5, CSS3, SVG, and others.
How IE choose between document mode
http://msdn.microsoft.com/en-us/library/ff405803(v=vs.85).aspx
setup on the server
http://msdn.microsoft.com/en-us/library/jj676913(v=vs.85).aspx
Posted on 2:54 AM by Softminer and filed under
HTML
X-UA-Compatibility Meta Tag and HTTP Response Header
http://msdn.microsoft.com/en-us/library/ff955275(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ff955410(v=vs.85).aspx
Starting with IE11, document modes are considered deprecated and should no longer be used
If a webpage is retrieved from a website in the Local intranet zone (see "About URL Security Zones" at [MSDN-SECZONES]), IE7 mode is used.
Internet Explorer displays webpages that contain the HTML5 document type in standards mode, which provides the highest support available for established and emerging industry standards, including HTML5, CSS3, SVG, and others.
How IE choose between document mode
http://msdn.microsoft.com/en-us/library/ff405803(v=vs.85).aspx
setup on the server
http://msdn.microsoft.com/en-us/library/jj676913(v=vs.85).aspx
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=10" /> </customHeaders> </httpProtocol> </system.webServer> </configuration>This is a nice website which tells you about html5 features http://html5test.com/
0
Fixing nested HtmlAgility SelectSingleNode
Posted on 2:51 AM by Softminer and filed under
C#
Fixing nested HtmlAgility SelectSingleNode
var firstDiv = page.DocumentNode.SelectSingleNode("//div"); //Returns the first div on the page, as it should. But you cannot dig into this. var firstDivTitle = firstDiv.SelectSingleNode("//h2"); // This returns the first <h2> on the entire page, not the one in the div. To fix it you have to write var firstDivTitle = firstDiv.SelectSingleNode(".//h2"); another solution is to mix the tags var firstDivTitle = page.DocumentNode.SelectSingleNode("//div//h2");