storage and conditional redirection

15 views
Skip to first unread message

owonar...@gmail.com

unread,
Apr 24, 2014, 7:41:00 AM4/24/14
to codenameone...@googlegroups.com
hi guys. i am workin on a chat app and want to detect if user is logged in or not. if user is logged in the want to redirect to a form else want to redirect to login page.. hw do i go about this? all post re accepted cos am learning

Shai Almog

unread,
Apr 24, 2014, 2:20:32 PM4/24/14
to codenameone...@googlegroups.com, owonar...@gmail.com
Hi,
That depends on your server.

Sam Ace

unread,
Apr 25, 2014, 5:18:30 PM4/25/14
to codenameone...@googlegroups.com, owonar...@gmail.com
i need a way to do this locally.. maybe a boolean or xml value to indicate if true or false  so i can check if user is logged in or not...  den if value i search for is false or doesnt exist den i know i would ve  redirect to login page or load for internet.cos considering its a mobile platform we are coding for . internet might be slow so i need a way to do this faster on device. hope u understand ?

Shai Almog

unread,
Apr 26, 2014, 4:48:34 AM4/26/14
to codenameone...@googlegroups.com, owonar...@gmail.com
You can set a local variable I don't understand the issue.
Reply all
Reply to author
Forward
0 new messages