Jul 04, 2012, 8:37 AM
Hello
First
I hava manage to build a reproductible example.
Opera and Safari receive a 401 error and fails, over browser works.
Danii, to answer tour questions:
Please clarify how do you determine that? What can you see in the request?
I see in firebug, I have resquest rejected with 401 error that appears in red, and just after, same requests resend, and they return with success
Windows default, I suppose NTLM, I don't think something else it's used
In example above, I checked and see a cookie passed, I suppose it is the cookie you talk about.
First
I hava manage to build a reproductible example.
<%@ Page Language="vb"%>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Opera-Safari test page error 401</title>
<link rel="stylesheet" type="text/css" href="Main.css" />
<ext:ResourcePlaceHolder ID="ResourcePlaceHolder1" runat="server" Mode="ScriptFiles" />
<script runat="server">
Public Sub CreateAboutWindow(ByVal sender As Object, e As DirectEventArgs)
wndAbout.Html = "<br /><br /><center><b>ResMed KPIs global Version 2.0.0.0</b></center><br /><br /><center><b><a href=""" + "javascript:OpenNews(#{MyDesktop});" + """>Whats new in this version</a></b></center><br /><br /><center>For query, information, help: <a href='mailto:bruno.teuile@resmed.fr'>contact</a></center>"
End Sub
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" RethrowAjaxExceptions="True">
</ext:ResourceManager>
<ext:Desktop
ID="MyDesktop"
runat="server">
<Modules>
<%-- About Menu--%>
<ext:DesktopModule ModuleID="About">
<Window>
<ext:Window
Id="wndAbout"
runat="server"
Icon="Information"
Width="250"
Height="200"
Layout="Fit"
Hidden="True"
ExpandOnShow="True"
MinHeight="100"
MinWidth="100"
Maximizable="False"
Resizable="False"
Title="About"
Minimizable="False"
Modal="True">
<DirectEvents>
<BeforeShow OnEvent="CreateAboutWindow"></BeforeShow>
</DirectEvents>
</ext:Window>
</Window>
</ext:DesktopModule>
</Modules>
<StartMenu Height="300" Title="Start Here" runat="server" HideTools="True">
<MenuItems>
<ext:MenuItem Text="About..." Icon="Information">
<Listeners>
<Click Handler="#{MyDesktop}.getModule('About').createWindow();" />
</Listeners>
</ext:MenuItem>
</MenuItems>
</StartMenu>
<TaskBar runat="server" TrayWidth="50">
<TrayClock runat="server" ></TrayClock>
</TaskBar>
</ext:Desktop>
</form>
</body>
</html>
IMPORTANT: to reproduce, you have to execute on a web server (not in local, an authentification process need to be generated), I'm on IIS 6, I don't know how it works on over IIS version and use the integrated window authentification (very important):Opera and Safari receive a 401 error and fails, over browser works.
Danii, to answer tour questions:
I have same under Firefox exept when it receie 401 error, it resends the request wirh credential,
What kind of authentication do you use?
Are the cookies sent with Forms authentication?