ノキアe5-00デバイスでasp.net認証を使用してログインしています。エクスプローラ、ファイアフォックス、アンドロイドデバイスなどのログイン処理の成功。しかし、ノキアデバイスでは、認証が成功してもHttpContext.Current.User.Identity.IsAuthenticated
は偽です。私は、ユーザーを取得しようとすると、asp.net authentication on nokia e5-00
public static void Login(User user)
{
HttpResponse Response = HttpContext.Current.Response;
HttpRequest Request = HttpContext.Current.Request;
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1,
user.Id.ToString(), DateTime.Now, DateTime.Now.AddHours(12), true,
user.Id.ToString());
string data = FormsAuthentication.Encrypt(ticket);
HttpCookie cookie = new HttpCookie(FormsAuthentication.FormsCookieName, data);
cookie.Expires = ticket.Expiration;
Response.Cookies.Add(cookie);
string redirectUrl = UserPages.Home;
Response.Redirect(redirectUrl, false);
}
その後、aspxページでは、HttpContext.Current.User.Identity.IsAuthenticated
はまだ偽です:
はここに私のログイン方法です。
しかし、他のすべてのブラウザでは、IsAuthenticatedはtrueで、すべて正常です。
この現象は、すべてのNokia製デバイスで発生します。チェックの後、私はノキアに保存されているクッキーを参照しますが、IsAuthenticatedはまだfalseです。
この問題の原因は何ですか?ノキアデバイスの何が問題なのですか?