Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6183963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:27:18+00:00 2026-05-24T01:27:18+00:00

I am tring to login using asp.net authentication in nokia e5-00 device. The login

  • 0

I am tring to login using asp.net authentication in nokia e5-00 device. The login proccess success under explorer, firefox, android device and so on. But in the nokia device the HttpContext.Current.User.Identity.IsAuthenticated is false even though the authentication succeeded.
Here is my login method:

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);
        }

Later, in the aspx page, when I try to get the user, HttpContext.Current.User.Identity.IsAuthenticated is still false.

But in all other browsers IsAuthenticated is true and everything is fine.

This behavior happens in all nokia devices. After checking, I see the the cookie stored in the nokia but IsAuthenticated is still false.

What can cause to this problem? What is wrong with the nokia devices??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:27:20+00:00Added an answer on May 24, 2026 at 1:27 am

    I don’t really knows what was the problem, but this is how I solved it:

    Instead the use of my public static void Login(User user) I used:

    FormsAuthentication.RedirectFromLoginPage(user.Id.ToString(), true);
    

    Again, I am not sure what is the difference or why does this work while my original method doesn’t.

    If anyone has an answer, I’ll be glad to know.

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ASP.Net and forms authentication. When a user is directed to the Login
I'm using the ASP.NET/C# Login control and that entire authentication and authorization system. I
I'm trying to make a login page using html, ajax & ASP.NET.The data is
In my asp.net webforms application I am using plain and simple forms authentication hooked
I am using form authentication inmy ASP.NET 2.0 website. Today during testing i was
I have an Asp.Net MVC application using Forms Authentication that is published to the
I am using ASP.NET MVC 1.1 with Windows authentication. I trying to only authorize
i'm trying to login to Flash Site using ASP.NET C# httprequest.... i use Firebug
I'm developing an ASP.NET MVC 2 app using Windows Authentication. When I run it
Using Forms Authentication in ASP.NET MVC when trying to log back into a site,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.