Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
AliVireTechnologies1 #1
Member since Jun 2013 · 58 posts
Group memberships: Members
Show profile · Link to this post
Subject: Store Login Session
How can we store user login session so that application could run in background even after closing the application in windows phone? u have any idea then please share it ..
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Windows Phone does not allow persistent socket connections in the background. There is no way to keep you xmpp session open when your application is in the background.
Avatar
AliVireTechnologies1 #3
Member since Jun 2013 · 58 posts
Group memberships: Members
Show profile · Link to this post
but whatsapp shows message alert, even your application deactivate you have any idea, how whatsapp is achieving this functionality
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by AliVireTechnologies1:
but whatsapp shows message alert, even your application deactivate you have any idea, how whatsapp is achieving this functionality

whatsapp is also using XMPP. But they have a highly modified XMPP server. I don't know how whatsapp is doing it exactly, but I know that many others use Microsoft push messages when your app is in background.

You either have to switch between XMPP and MPNS, run your XMPP connection on a proxy, or write a XMPP <==> MPNS proxy.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: