Re: [nodejs] parseInt bug

2012-02-21 Thread Mark Hahn
> Neither will always do what you want. The plus sign always does what I want. It always converts in base 10 and works with integers and floats. +"123"=> 123 +"0123" => 123 +"012.3" => 12.3 It is parseInt that causes the trouble with octal. -- Job Board: http://jobs.nodej

Re: [nodejs] parseInt bug

2012-02-21 Thread Marco Rogers
I use parseInt and always specify the radix. The Number constructor used as a cast does something totally different. Neither will always do what you want. But if you're looking for an integer from a string, and you don't even control it enough to be sure it doesn't have a "0" at the beginning,

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Dobes
There was recently some discussion around the "globals" database which is a native node.js module providing a sorted key/value store you could build some other kinds of database on top of. Berkeley DB http://www.oracle.com/technetwork/database/berkeleydb/overview/index.html has an embedded databa

Re: [nodejs] Free nodejs services

2012-02-21 Thread Thomas Blobaum
Here is a walk-through and list of resources for nodejitsu http://devaholic.com/post/17660476475/node-js-paas-nodejitsu-part-1-of-3 Thomas Blobaum https://github.com/tblobaum On Tue, Feb 21, 2012 at 6:24 AM, Arnout Kazemier wrote: > If I remember correctly, they closed for version 1 of the

Re: [nodejs] Automatically populate dependencies based on node_modules folder contents?

2012-02-21 Thread Thomas Blobaum
yes. npm install package --save or npm install package -S http://npmjs.org/doc/ Thomas Blobaum https://github.com/tblobaum On Tue, Feb 21, 2012 at 8:40 AM, dhruvbird wrote: > Hello, > > While developing stuff, I tend to "npm install packageX" for packages > I want and then I need to manuall

Re: [nodejs] Re: Node.JS - Page keeps on running

2012-02-21 Thread Sarfraz Ahmed
They have fixed the issue, asked me to download new exe from here: https://skydrive.live.com/redir.aspx?cid=37297fe11832254c&resid=37297FE11832254C!1126&parid=37297FE11832254C!109&authkey=!AKJY74AG2ikYHtU It works like charm now, awsome !. Thanks everyone ! Regards, SARFRAZ AHMED

[nodejs] Capability security for Web apps: request for comment.

2012-02-21 Thread Dan Yoder
Our Web API uses a form of capability security. It's still evolving, but I've written about what we've done thus far here: http://www.spire.io/posts/web-capabilities.html We'd love to hear from the Node community as to what they think of this approach. -- Job Board: http://jobs.nodejs.org/ Post

Re: [nodejs] parseInt bug

2012-02-21 Thread Mark Hahn
I use pluses without a space so it is quite readable. +a means parseInt. + a means there is concatenation or addition going on somewhere. It is quite intuitive. On Tue, Feb 21, 2012 at 5:56 PM, Marcel Laverdet wrote: > Yeah it's identical to prefix +, just more "english" and doesn't blend in >

Re: [nodejs] parseInt bug

2012-02-21 Thread Marcel Laverdet
Yeah it's identical to prefix +, just more "english" and doesn't blend in with string concatenation. It's totally a matter of preference. I personally find that while writing software I'm rarely blocked by raw typing speed so I use Number() because it makes +'s less ambiguous when I'm reading my co

Re: [nodejs] parseInt bug

2012-02-21 Thread Mark Hahn
> I just use Number() Doesn't + do the same thing? I'm a lazy typist. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post

Re: [nodejs] parseInt bug

2012-02-21 Thread Marcel Laverdet
I just use Number() [note, no `new` ctor]. No idiomatic operator soup, just an expressive conversion. Floats are preserved. > Number('08') === 8 true > Number('1.2') === 1.2 true On Tue, Feb 21, 2012 at 7:10 PM, Louis Santillan wrote: > Thomas Fuchs recommends using double tilda (~~) for string

Re: [nodejs] parseInt bug

2012-02-21 Thread Louis Santillan
Thomas Fuchs recommends using double tilda (~~) for string conversion. Safer and just as fast ( http://mir.aculo.us/2010/05/12/adventures-in-javascript-number-parsing/). -L On Tuesday, February 21, 2012, Murvin Lai wrote: > proper use of parseInt is do that. parseInt(number, 10) for 10-base. >

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Liam
I assume you know that writing a robust, persistent datastore is a big undertaking. If what you're aiming for here is a memory-only db, then draft any API that suits you. (And maybe consider a synchronous API to a memory-only SQLite db?) I'd guess you'll need a draft API to attract feedback. Also k

Re: [nodejs] Node Hosting advice.

2012-02-21 Thread Joshua Holbrook
> see if you can get in on the beta. protip: join #nodejitsu on freenode and ask about the beta, and there's a good chance you'll get the mad hookups. --Josh On Tue, Feb 21, 2012 at 2:56 PM, Murvin Lai wrote: > Recommendation: > MongoDB: use the Instance wtih more memory.  It is memory intensiv

Re: [nodejs] Node Hosting advice.

2012-02-21 Thread Murvin Lai
Recommendation: MongoDB: use the Instance wtih more memory. It is memory intensive. (For single Mongo Server), and also one EBS for actual storage of the data (file). i.e. you need 1 Ec2 (high memory) with 1 EBS. Node.js / expressJS : use a more CPU high instance. i.e. you need 1Ec2 (high CPU)

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
Liam, as I describe in my original post, I think Redis is too verbose already, and many of the commands would not be necessary for an in- process Node.js addon DB. Having a shmem access to Redis would be interesting, as would be to actually measure the overhead of the domain socket interface to Re

[nodejs] XML literals in NodeJS and IE6

2012-02-21 Thread Marcel Laverdet
Just wanted to ping the list and let everyone know a more mature of version of xml-literals is available to install if anyone is interested in checking it out. I sent out my work to the Node list more than a year ago, but didn't bother making it too accessible to the greater community. C++ and boos

[nodejs] Testing for speed and performance when building a SaaS

2012-02-21 Thread Navaru
Hey, I've joined a class on Software Engineering for SaaS, the course teaches about the aspects of SaaS and most of it is theory but the language used in this class is Ruby, so I try to port every bit of knowledge to Node.js. I need something to test performance when building decoupled services t

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
Whoops, I'm too tired already - did not realize that EventVat is a JS implementation (not a native addon), thus the V8 object limits apply, so not really a go. But good to know about. On Feb 22, 12:45 am, Juraj Vitko wrote: > Haha, that's one of the reasons for this post - to discover more > exi

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
Haha, that's one of the reasons for this post - to discover more existing implementations. I wasn't aware of this one at all, thanks, I will add it to the nodejsdb.com page. But in my own implementation I would probably be looking at a much smaller set of commands, e.g. why to have .decr() command

Re: [nodejs] Node Hosting advice.

2012-02-21 Thread Joshua Kehn
I like using Rackspace's cloud servers. Another idea would be to look at nodejitsu's platform and see if you can get in on the beta. Regards, –Josh Joshua Kehn | @joshkehn http://joshuakehn.com On Feb 21, 2012, at 2:19 PM, Amal wrote: > > I am working on

[nodejs] Node Hosting advice.

2012-02-21 Thread Amal
I am working on a node web app with a very simple architecture. The architecture is as follows: - MongoDB as the database - Nginx as the web server and as the reverse proxy. - ExpressJs for the app server. I was planning to use 2 large Amazon Large Ec2 instances for the same. One large instance f

Re: [nodejs] parseInt bug

2012-02-21 Thread Murvin Lai
proper use of parseInt is do that. parseInt(number, 10) for 10-base. On Tue, Feb 21, 2012 at 2:16 PM, Andrew Chilton wrote: > On 22 February 2012 10:46, Tim Caswell wrote: > > While it's annoying, it's a good idea to always specify the radix (the > > second argument to parseInt) when parsing nu

Re: [nodejs] parseInt bug

2012-02-21 Thread Andrew Chilton
On 22 February 2012 10:46, Tim Caswell wrote: > While it's annoying, it's a good idea to always specify the radix (the > second argument to parseInt) when parsing numbers and you know the > radix. This is why jslint yells at you if you leave this "optional" argument > off. On a slightly different

[nodejs] Re: I cant install jade on windows

2012-02-21 Thread Bert Belder
On Feb 21, 10:56 pm, Jeroen Janssen wrote: > On Feb 21, 6:38 pm, Bert Belder wrote: > > > Another day, another UNKNOWN error. That's a bug :-) > > I wonder if it is possible to not have it tell UNKNOWN error but > instead just print the string value of the (numeric) errorcode. > > That would grea

[nodejs] Re: I cant install jade on windows

2012-02-21 Thread Jeroen Janssen
On Feb 21, 6:38 pm, Bert Belder wrote: > Another day, another UNKNOWN error. That's a bug :-) I wonder if it is possible to not have it tell UNKNOWN error but instead just print the string value of the (numeric) errorcode. That would greatly improve (future) troubleshooting aswell (not having to

Re: [nodejs] parseInt bug

2012-02-21 Thread Tim Caswell
Actually, according to that mdn page I just linked, ES5 (which V8 implements) should not try to parse octal mode and in a way it's a bug. But changing the behavior will "break the web" for sites that expect the ES3 behavior. Isn't JavaScript versioning fun? On Tue, Feb 21, 2012 at 3:46 PM, Tim C

Re: [nodejs] parseInt bug

2012-02-21 Thread Tim Caswell
It's not so much a V8 bug, but an unfortunate feature of JavaScript itself. Crockford would call this one of the "bad parts". parseInt() tries to be clever and guess the radix if you don't give it one. Numbers starting with "0" are assumed to be octal (unless it starts with "0x" of course). Whi

[nodejs] parseInt bug

2012-02-21 Thread danp
This is a V8 bug, but it's better to know it. Parsing "08" or "09" with parseInt returns 0, not 8 or 9. I've got out of mind to debug a peace of code that uses minutes from the current time string, and goes wrong only at minute 8 and 9 of every hour. That's true since version 0.6.8 for sure. Dan

Re: [nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Joshua Holbrook
Have you guys heard of https://github.com/hij1nx/eventvat ? It's supposed to be pretty redis-like. --Josh On Tue, Feb 21, 2012 at 12:40 PM, Liam wrote: > For API, I'd suggest mirroring the Redis API for a first draft. Are > there particular features you have in mind which it doesn't provide? > >

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Liam
For API, I'd suggest mirroring the Redis API for a first draft. Are there particular features you have in mind which it doesn't provide? Also, before investing a ton of time, it'd be wise to explore just how much more performance can be obtained via shmem access to cached data vs domain sockets.

Re: [nodejs] Support for multiple ARCHs on Mac OS X (fat binaries)

2012-02-21 Thread Stephen Bannasch
At 11:22 AM -0800 2/21/12, Nathan Rajlich wrote: >I just bumped gyp the other day to account for the "zero or one ARCHs" >revision, so now you can actually build a 64-bit binary for OS X, though still >not a fat binary. > >I believe one workaround would be to compile the two archs separately (usi

Re: [nodejs] Re: Node.JS - Page keeps on running

2012-02-21 Thread Sarfraz Ahmed
I only see last console.log response not others: // app.js var http = require('http'); http.createServer(function (req, res) { *console.log('got a request'); // this does not show up* res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); * console.log('got a request

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
Redis is a standalone DB, accessed either by TCP/IP or Unix domain sockets (I haven't seen a Node.js driver for the latter though). Quick google revealed (glad you asked, I did not know about these): http://code.google.com/p/redis/issues/detail?id=276 [Feature Request] redis as embedded database [

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Liam
Any insight on how Redis deployments enable "intrinsic" access to cached data currently? Is there a shmem implementation of the API? On Feb 21, 1:09 am, Juraj Vitko wrote: > https://github.com/ypocat/nodejsdb(orhttp://nodejsdb.com) > > tl;dr - There are standalone database products (free or not),

Re: [nodejs] Support for multiple ARCHs on Mac OS X (fat binaries)

2012-02-21 Thread Nathan Rajlich
I just bumped gyp the other day to account for the "zero or one ARCHs" revision, so now you can actually build a 64-bit binary for OS X, though still not a fat binary. I believe one workaround would be to compile the two archs separately (using the --dest-cpu configure option) and the combine them

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
I think you have misunderstood me - this is not about extending Node or V8 directly. It's about extending it with native addons, just like there are hundreds in NPM already. In fact, I'm saying that I think it would be counterproductive to hack V8 (or Node, for that matter), as this is perfectly im

[nodejs] Support for multiple ARCHs on Mac OS X (fat binaries)

2012-02-21 Thread Stephen Bannasch
I created a new gyp issue for support for multiple ARCHs on Mac OS X since there didn't seem to be one yet. Support multiple ARCHs on Mac OS X (fat binaries) http://code.google.com/p/gyp/issues/detail?id=252 In the issue I describe a naive hack I did to to try and compile node with multiple

Re: [nodejs] Re: Node.JS - Page keeps on running

2012-02-21 Thread Sarfraz Ahmed
Thanks I hope so. Checking that link out.. Regards, SARFRAZ AHMED On Tue, Feb 21, 2012 at 11:35 PM, Bert Belder wrote: > You might be hitting a windows issue described here: > http://support.microsoft.com/kb/2568167 > Don't worry, we will release a workar

[nodejs] Google Docs

2012-02-21 Thread David Albrecht
Does anyone know if a Google Docs API client library is under active development? I've seen a few forks on github but nothing too active. David -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this messag

[nodejs] Re: Node.JS - Page keeps on running

2012-02-21 Thread Bert Belder
You might be hitting a windows issue described here: http://support.microsoft.com/kb/2568167 Don't worry, we will release a workaround soon. On Feb 21, 6:24 am, Sarfraz Ahmed wrote: > Thanks for your response. Here are the results: > > ipconfig /all > --- > > Windows IP Config

[nodejs] Re: I cant install jade on windows

2012-02-21 Thread Bert Belder
On Feb 21, 6:02 pm, Abramovick wrote: > I am not able to install jade on windows. > I successfully installed express and stylus except for jade. > this is the error that i get from the CMD console > > npm ERR! Error: UNKNOWN, unknown error > 'M:\Programming\node\node_modules\___jade > .npm\package

[nodejs] Re: Connecting to an HTTPS server through a HTTP proxy

2012-02-21 Thread Elio Cuevas
Thanks Koichi, This works perfectly. I owe you a beer! On Feb 18, 2:00 am, Koichi Kobayashi wrote: > Hi Elio, > > node-tunnel v0.0.1 which supports Node v0.6.11 has been released. > > > > > > > > On Thu, 16 Feb 2012 10:13:35 -0800 (PST), Elio wrote: > > Wow that's that looks awesome! Eagerly lo

[nodejs] I cant install jade on windows

2012-02-21 Thread Abramovick
I am not able to install jade on windows. I successfully installed express and stylus except for jade. this is the error that i get from the CMD console npm ERR! Error: UNKNOWN, unknown error 'M:\Programming\node\node_modules\___jade .npm\package\lib\index.js' npm ERR! You may report this log a

Re: [nodejs] Re: using upstart

2012-02-21 Thread C. Mundi
@chris: yes. My upstart conf file (not a script per se but that's semantics) sends both stdout and stderr to a conventional /var/log/whatever.log file. If they didn't, they'd be useless to me and I would fix them. :) Be sure in your upstart script to exec node as a user with privileges to write

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread @siculars
I am sure your intentions are well placed but I, for one, would absolutely hate to see nodejs bloated with any notion of an internal database. IMHO, this would be an absolute boondoggle existing simply to introduce never ending bug reports, instability in the bounded memory model and distract core

Re: [nodejs] display jpegs from database

2012-02-21 Thread Tim Caswell
I can't give specifics on the actual code since I don't know your app or how you're interfacing with the database. I can tell you that if your data is a Stream instance, then Stream.prototype.pipe can be used to pipe the data to the response object in http. Just remember to set or send the headers

Re: [nodejs] display jpegs from database

2012-02-21 Thread Angelo Chen
Any sample on this piping thing? On Feb 21, 2012, at 11:53 PM, Tim Caswell wrote: > If you're able to read the binary data from the db, then it's a simple matter > of piping/sending the data to the the http client (browser) using the proper > mime type in the "Content-Type" header. > > If you

Re: [nodejs] shared lib built with node-waf not working with node v0.6.11 on Mac OS X

2012-02-21 Thread Stephen Bannasch
At 12:46 PM +0100 2/21/12, Ben Noordhuis wrote: >On Tue, Feb 21, 2012 at 05:11, Stephen Bannasch > wrote: >> I updated from node v0.6.10 to 0.6.11 on MacOS X 10.6.8 and contextify >> started reporting that the contextify.node shared library doesn't work with >> node. >> >> More details: https://git

Re: [nodejs] display jpegs from database

2012-02-21 Thread Tim Caswell
If you're able to read the binary data from the db, then it's a simple matter of piping/sending the data to the the http client (browser) using the proper mime type in the "Content-Type" header. If you want to embed the image in css or html (in the same http request), then it needs to be base64 en

Re: [nodejs] Re: Node.JS - Page keeps on running

2012-02-21 Thread Sarfraz Ahmed
Yes I tried that, even that does not work :( Regards, SARFRAZ AHMED On Tue, Feb 21, 2012 at 8:13 PM, Andreas M. Botsikas < andreasbotsi...@gmail.com> wrote: > Have you tried to hit localhost instead of 127.0.0.1? I have the same > problem when I run node-ins

RE: [nodejs] Re: Node.JS - Page keeps on running

2012-02-21 Thread Andreas M. Botsikas
Have you tried to hit localhost instead of 127.0.0.1? I have the same problem when I run node-inspector and this did the trick for me. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message becaus

Re: [nodejs] Re: JSLint or not?

2012-02-21 Thread Matt
I've said it before about jslint/jshint: They are far too unconfigurable - I understand how Javascript works, but I like my style of coding. They need to be a lot more like Perl's perlcritic tool, which allows you to exactly define your "house style", even to the point of allowing Isaac's crazy sty

[nodejs] Automatically populate dependencies based on node_modules folder contents?

2012-02-21 Thread dhruvbird
Hello, While developing stuff, I tend to "npm install packageX" for packages I want and then I need to manually add it to my package.json. Is there a way to make npm do this for me automatically? Regards, -Dhruv. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joye

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
I would see V8 as a further possible improvement, but I think that for getting new ideas implemented quickly, native-addons + NPM is the best way as of now. The overhead for calling the addon doesn't seem to be that bad either - e.g. if you look at rawhash (https://github.com/pconstr/rawhash) - al

[nodejs] Re: JSLint or not?

2012-02-21 Thread Evgeny Bogdanov
Thanks for you opinions. This was the answer I was looking for: http://blog.izs.me/post/2353458699/an-open-letter-to-javascript-leaders-regarding So I changed jslint to jshint and set it up to satisfy my needs with no ";" and with comma-first -- Job Board: http://jobs.nodejs.org/ Posting guide

[nodejs] Re: Intrinsic datastores for Node.js

2012-02-21 Thread Dave Clements
I don't know if this is possible or feasible, but from a usability perspective a fully transparent intrinsic database would be outstanding: require('memorymodder'); var users = { fname: 'john', lname: 'smith', email: '...@b.c' }; where memorymodder alters the underlying v8 storage structure, so

Re: [nodejs] Free nodejs services

2012-02-21 Thread Arnout Kazemier
If I remember correctly, they closed for version 1 of the no.de service because every new instance also got dedicated ip address. And they ran out of ip addresses. The current version is now running behind a proxy, so they can give out much more free instances. And if you want to have no.de ins

Re: [nodejs] Free nodejs services

2012-02-21 Thread Gary Katsevman
On Tue, Feb 21, 2012 at 05:38, Jann Horn wrote: > Free micro plans? Didn't they stop offering that? I guess it is possible. But it still mentions that they are available on first-come first-serve method. -- Gary Katsevman Computer Science Undergraduate Northeastern University gkatsev.com -- Job

[nodejs] Re: Free nodejs services

2012-02-21 Thread fent
I second nodejitsu. So easy to deploy. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to node

Re: [nodejs] shared lib built with node-waf not working with node v0.6.11 on Mac OS X

2012-02-21 Thread Ben Noordhuis
On Tue, Feb 21, 2012 at 05:11, Stephen Bannasch wrote: > I updated from node v0.6.10 to 0.6.11 on MacOS X 10.6.8 and contextify > started reporting that the contextify.node shared library doesn't work with > node. > > More details: https://github.com/brianmcd/contextify/issues/19 > > Seems like a

[nodejs] Re: JSLint or not?

2012-02-21 Thread Marcello Nuccio
@Douglas, have you compared it with JSHint? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to

Re: [nodejs] Re: JSLint or not?

2012-02-21 Thread Mark Volkmann
I understand you don't like JSLint, but in what way is it less useful for routine usage than any other lint tool? --- R. Mark Volkmann Object Computing, Inc. On Feb 20, 2012, at 10:58 PM, "P. Douglas Reeder" wrote: > Crockford's JSLint is designed for occasional use, to nudge > programmers towa

Re: [nodejs] Free nodejs services

2012-02-21 Thread Nuno Job
Both these things exist in nodejitsu for a long time. * We support nodejs 0.4 and 0.6 * Custom domain names (dns.nodejitsu.com) Everything is free. Plus every single piece of our stack is nodejs. We know node.js. This is not even an argument ;) Nuno On Tue, Feb 21, 2012 at 5:59 AM, Anand Georg

[nodejs] socket.io session data

2012-02-21 Thread }--) - Viktor
hi, I've read www.danielbaulig.de/socket-ioexpress/ and now I can access the session as expected, but changing its data still does not work, at least not with easy value assignment here is my code: var hs = socket.handshake; hs.session.socket = socket.id; then I try to access the socket id

Re: [nodejs] Free nodejs services

2012-02-21 Thread Jann Horn
Free micro plans? Didn't they stop offering that? Am 21.02.2012 07:06 schrieb "Gary Katsevman" : Can't believe no one has mentioned https://no.de/ yet. Run by joyent. free micro-plans. -- Gary Katsevman Computer Science Undergraduate Northeastern University gkatsev.com On Tue, Feb 21, 2012 at

[nodejs] display jpegs from database

2012-02-21 Thread Angelo Chen
Hi, I have small jpegs stored in a database (firebird), what is a good approach to show those jpegs in a page? Thanks, Angelo -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are

[nodejs] Intrinsic datastores for Node.js

2012-02-21 Thread Juraj Vitko
https://github.com/ypocat/nodejsdb (or http://nodejsdb.com) tl;dr - There are standalone database products (free or not), and that's perfectly cool, but we already know how that works, so let's try something different now. The general idea is to get Node.js and a data storage engine into a tighte

[nodejs] Re: connect - sessions

2012-02-21 Thread Juraj Vitko
> If you want sessions across many app servers or across app shutdowns then you need to store the sessions somewhere other than memory. The Cookie is other than memory, and it can be reused across many app servers, if they share the same Secret key which is used to hash signature for the Cookie.