Christopher Herold
Posts: 0
Joined: Fri Jun 28, 2013 8:27 pm

Keep user logged in

My app is on Android and iOS. It requires login.

I am having an issue with iOS 7 in that if the user accesses the Safari Web browser the user is logged out. It does not occur when the user opens Apps that access the internet like Instagram or NPR news or Facebook.

Any ideas on why this is happening or how to fix it?

I have looked at this:
https://getsatisfaction.com/apperyio/...

And this:
http://docs.appery.io/documentation/b...

While both are interesting I need more guidance on what I would do with the sessionToken after I save it as a local variable. I currently save it as session_id. Does the variable name matter???

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Keep user logged in

Hello,

[quote:]if the user accesses the Safari Web browser the user is logged out.[/quote]

Could you provide us with more details. How do you navigate to Safari Web browser? Please add some screenshots.

[quote:]While both are interesting I need more guidance on what I would do with the sessionToken after I save it as a local variable. I currently save it as session_id. Does the variable name matter???[/quote]

You could use session token for service requests. Variable doesn't matter. http://docs.appery.io/documentation/b...

Christopher Herold
Posts: 0
Joined: Fri Jun 28, 2013 8:27 pm

Keep user logged in

The best way to view this would be for you to download the app onto an iPhone (just search MSACL). Then register to create an account (you don't have to use your email, just any user/pass). Then login and go surf on safari and come back and you will be logged out. Accessing any other app will not log you out ... only if you access safari. I have tested this on iOS 7. It does not occur on iOS 4.

I would like to fix this if possible so that the user stays logged in even after accessing safari.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Keep user logged in

Hi Christopher -- is your app shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?

Return to “Issues”