Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session is undefined #32

Closed
gh-naylor opened this issue Jan 4, 2014 · 4 comments
Closed

Session is undefined #32

gh-naylor opened this issue Jan 4, 2014 · 4 comments

Comments

@gh-naylor
Copy link

sessionSockets.on('connection', function (err, socket, session) {
  console.log(socket); 
  console.log(session); // undefined
});

I'm having trouble figuring out why my session is undefined. Any ideas on why this would happen?

Here is my console output https://gist.github.com/gh-naylor/1b45b2a1cfb9fcd515a6

I'm using #20 (comment) from @tanema as a guide.

@gh-naylor
Copy link
Author

Accidentally closed just now.

As a side note, I'm trying to get this working in Locomotive 0.4.0

@gh-naylor gh-naylor reopened this Jan 5, 2014
@gh-naylor
Copy link
Author

Turns out it was just user error on my part!

@hmonadjem
Copy link

what was the error? i am facing the same ...

@sovanna
Copy link

sovanna commented Mar 12, 2015

me too, same error, what did you do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants