Connecting Tech Pros Worldwide Help | Site Map

Login works only on some devices

  #1  
Old May 22nd, 2009, 04:44 AM
Newbie
 
Join Date: Jun 2007
Posts: 26
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.Cookies("DBUser").Domain = ".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.
  #2  
Old May 22nd, 2009, 09:07 AM
markmcgookin's Avatar
Moderator
 
Join Date: Dec 2006
Location: Northern Ireland / England
Posts: 543
Provided Answers: 2

re: Login works only on some devices


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
  #3  
Old June 2nd, 2009, 03:18 AM
Newbie
 
Join Date: Jun 2007
Posts: 26

re: Login works only on some devices


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!
  #4  
Old July 28th, 2009, 11:47 AM
Newbie
 
Join Date: Jul 2009
Posts: 2

re: Login works only on some devices


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
Reply

Tags
cookies, iphone, subdomain


Similar Threads
Thread Thread Starter Forum Replies Last Post
Your opinion please C# Beginner answers 20 November 29th, 2006 10:15 PM
Garbage Collection & Creating Class Instances Benjamin Lukner answers 4 November 21st, 2005 06:13 PM