Hey, how can I make PHP page with login fields save users ID in sessions and then in Node.js server ( site.com:3000 ) get that session/user ID?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I would have said use MySQL to store sessions, but many people are saying use Redis:
http://simplapi.wordpress.com/2012/04/13/php-and-node-js-session-share-redi/
http://www.slideshare.net/leeboynton/integrating-nodejs-with-php-march-2013-1
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.