Coder Social home page Coder Social logo

server-session's People

Contributors

erasaur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hamatek captainn

server-session's Issues

Possibly bind sessions to userId? or Check if another connection Session is Active?

Hey It's me from StackOverFlow! :)

I'm trying to block a meteor method call button clicking if it's not finished yet,

a) so I can set a session and block if session for "X" user is true. But if he opens a new tab or a new browser the button method call is available to the user. It's possible to overcome if to bind sessions to userId in some matter, With error proof to destroy sessions after user is not logged-in (https://github.com/mizzao/meteor-user-status)

b) Or if it's possible to check in my method if any other connection sessions is active?
Any ideas?

p.s I'm also kind of worried that there might be unexpected Meteor.Error and when you write some persistent session by userId or collection etc... how to remove them on failure just if user is not logged in? Maybe I just screw it and let the user click as many times as he wants lol? I'm seriously so deep in this issue of mine that I'm lost!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.