09-23-2016, 09:16 PM
Oh I think one thing I didn't mention is that the php file outputs a '0' when the user is logged in, right? I observed on my page that after 5 seconds, the page url is added a 0 in the end. for example, after I sign in to http://localhost:8060/userspice/usersc/
for 5 seconds, the page gets redirected to:
http://localhost:8060/userspice/usersc/0
I then changed the 0 in your code to be just empty string..............maybe that's a stupid change......But I just re-do the implemented, it still gets redirected to url+0
for 5 seconds, the page gets redirected to:
http://localhost:8060/userspice/usersc/0
I then changed the 0 in your code to be just empty string..............maybe that's a stupid change......But I just re-do the implemented, it still gets redirected to url+0