Greetings all -
We have a client who uses Lotus Notes as their default e-mail. The version
of Lotus they use can run internet explorer windows within Lotus. I'd like
to find if they are launching our web application through lotus notes or
not.
I've stumbled across the following code:
private void Button1_Click(object sender, System.EventArgs e)
{
System.Web.HttpBrowserCapabilities browser = Request.Browser;
string s = "Browser Capabilities\n"
+ "Type = " + browser.Type + "\n"
+ "Name = " + browser.Browser + "\n"
+ "Version = " + browser.Version + "\n"
+ "Major Version = " + browser.MajorVersion + "\n"
+ "Minor Version = " + browser.MinorVersion + "\n"
+ "Platform = " + browser.Platform + "\n"
+ "Is Beta = " + browser.Beta + "\n"
+ "Is Crawler = " + browser.Crawler + "\n"
+ "Is AOL = " + browser.AOL + "\n"
+ "Is Win16 = " + browser.Win16 + "\n"
+ "Is Win32 = " + browser.Win32 + "\n"
+ "Supports Frames = " + browser.Frames + "\n"
+ "Supports Tables = " + browser.Tables + "\n"
+ "Supports Cookies = " + browser.Cookies + "\n"
+ "Supports VBScript = " + browser.VBScript + "\n"
+ "Supports JavaScript = " +
browser.EcmaScriptVersion.ToString() + "\n"
+ "Supports Java Applets = " + browser.JavaApplets + "\n"
+ "Supports ActiveX Controls = " + browser.ActiveXControls
+ "\n";
TextBox1.Text = s;
}I also set up a test page and went to it through Lotus Notes' browser and
it spat out the following feedback:Browser Capabilities Type = IE6 Name = IE
Version = 6.0 Major Version = 6 Minor Version = 0 Platform = WinXP Is Beta =
False Is Crawler = False Is AOL = False Is Win16 = False Is Win32 = True
Supports Frames = True Supports Tables = True Supports Cookies = True
Supports VBScript = True Supports JavaScript = 1.2 Supports Java Applets =
True Supports ActiveX Controls = True As you can see, there is no indication
that the browser is going through Lotus. Can anyone offer any
advice?Thanks!Dave