Hi, I have a collection (Call it "C"), and the standard user collection. So on the login page (using the register/login sample tutorial), I would like to be able to save the username for use on another page's query. For example, log in Joe, and then on the next page, display all records in C where UserID==Joe.
I have tried to map the username to a local storage variable ("Userid") on the login start page. It maps (arrow goes to the local var), but I don't ever get a value. I have an event on the next page for Load event:
var str = localStorage.getItem('Userid');
alert(str);
and it shows null.
If you are kind enough to show me how to get the value, then would I be able to use the same idea for my query? I'd like the query to be where UserID: . (UserID is a column in the collection).
thanks, and please answer in newbie terms, this is all new to me as an old fashioned C++ guy ![]()