Questions tagged [express.io]

A real-time javascript web framework for node.js built atop of express.js & socket.io

Express.io is a real-time javascript web framework for node.js built on top of express.js and socket.io

Resources:

39 questions
0
votes
2 answers

HTTP and HTTPS same time (Express.Io)

I'm successfully listenin port 443 and can access server over https, but I can't access it with http. var fs = require('fs') options = { ca : fs.readFileSync('./ssl/site.com.pem'), key: fs.readFileSync('./ssl/site.com.key'), cert:…
Lazy
  • 1,807
  • 4
  • 29
  • 49
0
votes
1 answer

Chat with express.io

I have two files, one named index.js and the other index.html. When I press the send button the message doesn't appear The code of the file index.js is the following: app = require('express.io') (); app.http().io(); app.get('/',…
0
votes
1 answer

Cross-Origin socket.io connection to express.io server fails

I'm trying to setup socket.io to connect to a stream server with a different origin. The server is a dedicated stream server as part of a larger setup and is based on Express.io: var express = require('express.io'), config =…
BarakChamo
  • 3,321
  • 5
  • 30
  • 38
0
votes
1 answer

NodeJS Error: ENOENT, stat 'D:\site_deploy\hsoft\[object Object]'

Hi I was trying out the nodeJS, Socket.io, express for my chat application and got stucked on an error been trying out few methods found on stackoverflow who has the same issue as mine but no luck.. whenever I try to load the php page it the page…
Kim Oliveros
  • 711
  • 1
  • 7
  • 28
0
votes
1 answer

Working with express.io in a separate router file

I'm trying to use the router and socket.io together. I've created a separate router file and try to conjunct the route and socket.io app = require('express.io')(); //var app = express(); //var router = express.Router(); app.http().io(); var mysql…
Sooyong Kim
  • 221
  • 1
  • 3
  • 8
0
votes
1 answer

Why don't my Javascript prompts show up from my Express.IO .ejs file?

I am relatively new to JavaScript and subsequently Node + Express.IO. I am trying to build a page that will track in real time connections made by different 'users' to the server. Consequently, when I do include all the functions from the io module,…
frodo
  • 1
  • 2
0
votes
0 answers

login session script in nodejs using express.io

i want to create a login session script in nodejs.It should include username and password which is already stored in a database.if the user enter the id which is not in the database then it should show invalid id else it should redirect to another…
0
votes
2 answers

Running PHP frontend site with node.js page connecting both together

I have created a php site, doing the basic stuff reading from a sqlite database, logging in etc. This is currently running on xampp on port 80 and all is fine. I have created another page which is ran on node.js it uses socket.io and…
Shane_S
  • 119
  • 2
  • 2
  • 9
0
votes
1 answer

What are the possible ways to authorize a websocket connection request in Express.io?

I have encountered two possibilities and would prefer a solution that performs the check prior to fully establishing the websocket. var express = require("express.io"); var app =…
Ioan
  • 2,382
  • 18
  • 32
1 2
3