Login works only on some devices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • liz0001
    New Member
    • Jun 2007
    • 26

    Login works only on some devices

    I am developing a mobile version of my site. I have limited testing resources: a Blackberry and Kindle. I have a friend who can run a test on an iPhone, but I don't have access to it.

    The problem is that I can log in to the site on the Blackberry and the Advanced version of the Kindle browser, but not with the simple version or with the iPhone.

    I believe the problem is with the cookies, since the database is registering a login for all attempts, even on the iPhone.

    My site is on subdomain: m.site.com and the cookies are set on the main domain www.site.com. Cookies are specified to belong to the whole domain ( Response.Cookie s("DBUser").Dom ain = ".site.com" ) .

    Why would it be working on some devices and not others? The iPhone is the most important one for it to work on.
  • markmcgookin
    Recognized Expert Contributor
    • Dec 2006
    • 648

    #2
    Have you tried asking your friend to try all three cookie settings then attempt to login to your site through the phone (obviously clearing cookies in between attempts)

    1) Accept Always
    2) From Visited
    3) Never

    If they have 1/2 successful logins then a failure on the "Never" option, you know that this may be the cause of your probelm. You should narrow this down with some heavy testing to find out exactly WHY then can't log in.

    Mark

    Comment

    • liz0001
      New Member
      • Jun 2007
      • 26

      #3
      Took a while to get this info, but strange it is.

      Works on "From Visited" ONLY.

      Any ideas why it would work for that and not "Accept always?"

      Is there a difference in how a browser accepts cookies vs. session variables?

      Thanks!

      Comment

      • ifuschini
        New Member
        • Jul 2009
        • 2

        #4
        HI,
        in my experience (10 years) I never had problem with any type of login with any type of devices.
        The only problem than I have had was for the https connections with manage the certification authority.
        So your problem is only a domain problem to set correctly on the cookie, and I think with some more attempts you will have the solution.
        Good luck

        Comment

        Working...