meteor - meteorJS sessions using collections -


is possible combine meteorjs collections , sessions? can't find information it.

template.search.helpers({   transtoent: function(){    var try = transtoent.find();   session.set('mysession', try);   var sessiondatatolog = session.get('mysession');   return sessiondatatolog;   } }); 

this attempt. unfortunately, unsuccessful.

i think if want distinguish different user, better use meteor original user , account (meteor user , account) rather manipulating session.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -