NetTalk Central

Author Topic: Logging in with Iphone  (Read 3757 times)

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Logging in with Iphone
« on: November 17, 2015, 02:04:34 PM »
Every once in a while I check my NT development work by browsing
with my iphone, today, i cannot get past the login,
which has been unchanged for quite some time.

I just tried the web3  examples and i get similar results.
i can enter the username and password, but it ignores me after that.

has something changed in NT in this area,recently? I don't think I have changed
anything on my Iphone/safari settings.

Are there any recommended settings/guidelines?

it works fine from all desktop browsers.

My nettalk is 8.64
My iphone is an iphone6

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Logging in with Iphone
« Reply #1 on: November 17, 2015, 11:55:10 PM »
Hi Poul,

I don't know what "recently" means, but I don't think there's too much changed in the login stuff in the last couple months.
I guess the way to debug is to look in the incoming log to see if anything is different there, and then also to use DebugView to see what the server is doing during the login - ie if it succeeds or not etc.

cheers
Bruce



Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Logging in with Iphone
« Reply #2 on: November 18, 2015, 10:52:36 AM »
Safari on the iPhone seems to ignoring all the ajax stuff,
I loaded OPERA mini on my Iphone and it works as expected using Web3.app

if i navigate to the login form and press Refresh, (aside from all the scripts,images and styles) i see:

From safari:
GET /LoginForm HTTP/1.1
Host: c9webdev:88
Cache-Control: max-age=0
Accept-Encoding: gzip, deflate
Cookie: SESSIONID=dXjFfuq8A72kyUn8u6se1wegQ4vzyv
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_0_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13A452 Safari/601.1
Accept-Language: en-ca
Referer: http://c9webdev:88/index.htm
DNT: 1

In opera I see
GET /LoginForm HTTP/1.1
Host: c9webdev:88
Accept-Encoding: gzip, deflate
Cookie: LOC__LOGIN=; LOC__PASSWORD=; SESSIONID=RpnZ8P6qTB8Y1jxUIO0vSOVBl25bu2
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_0_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) OPiOS/11.0.0.96155 Mobile/13A452 Safari/9537.53
Accept-Language: en-ca
Referer: http://c9webdev:88/index.htm
Cache-Control: max-age=0


 
if i navigate and update the the login fields - Nothing happens - no ajax calls..in safari
but in Opera on the Iphone (or other browsers on the desktop)  it works - ie Ajax calls go thru.

Debugview shows some of this type of chatter when it works, other wise on Safari it just stops after the page, scripts,styles and images load.
 
00000781   33.04275131   [bind=FFFFE00000220D20] Binding reference count++ = 239 (status = 00000000, impersonation= 2).   
00000782   33.04277802   [FFFFE00002C12D00] Request reference count++ = 3.   
00000783   33.04285812   [FFFFE00002C12D00] RPC method type = 1: rpc-method succeeded, queue to rpc-pending-list.   
00000784   33.04288483   [FFFFE00002C12D00] Request reference count-- = 2.   
00000785   33.04417038   [FFFFE00002C12D00] WskKnrRpcComplete: rpc calls back for completion.   
...
 


I have a couple of settings in Safari that i never touch, but I made sure I do not block Popups, i allow cookies and I allow javascript.