Re: Question about session storage and persistence

2008-09-09 Thread Matt Feifarek
On Thu, Sep 4, 2008 at 7:36 PM, Ben Bangert [EMAIL PROTECTED] wrote: Setting a specific expiretime should do it, unfortunately this value needs to be a timedelta or datetime value, so in your projects lib/environment.py, after the config.init function was called, add: from datetime import

Re: Question about session storage and persistence

2008-09-09 Thread Matt Feifarek
On Tue, Sep 9, 2008 at 11:27 AM, Matt Feifarek [EMAIL PROTECTED]wrote: from datetime import timedelta config['beaker.session.cookie_expires'] = timedelta(minutes=20) And that should do the trick. I tried this, but it basically invalidates all session activity. I tried it again on another

helloworld error

2008-09-09 Thread QuanNH
hi, i'm new in pylons :D my problem: i create new project and start server: $ paster serve --reload development.ini Starting subprocess with file monitor Starting server in PID 4060. serving on 0.0.0.0:5000 view at http://127.0.0.1:5000 but i can't access http://127.0.0.1:5000 -- Could not

Re: helloworld error

2008-09-09 Thread Mike Orr
On Tue, Sep 9, 2008 at 10:55 AM, QuanNH [EMAIL PROTECTED] wrote: hi, i'm new in pylons :D my problem: i create new project and start server: $ paster serve --reload development.ini Starting subprocess with file monitor Starting server in PID 4060. serving on 0.0.0.0:5000 view at

Re: helloworld error

2008-09-09 Thread QuanNH
$ wget -O - http://127.0.0.1:5000 --02:08:21-- http://127.0.0.1:5000/ = `-' Connecting to 127.0.0.1:5000... and nothing output :| thanks your reply :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: helloworld error

2008-09-09 Thread David Turner
On Tue, 2008-09-09 at 12:12 -0700, QuanNH wrote: $ wget -O - http://127.0.0.1:5000 --02:08:21-- http://127.0.0.1:5000/ = `-' Connecting to 127.0.0.1:5000... and nothing output :| thanks your reply :) Your firewall is likely misconfigured.

Re: helloworld error

2008-09-09 Thread Mike Orr
On Tue, Sep 9, 2008 at 7:07 PM, QuanNH [EMAIL PROTECTED] wrote: how to config firewall in dreamlinux? (i'm new in linux, too :D ) (my router, firewall is disable) You'll probably have to ask the Dreamlinux developers. Is the 'lo' interface listed if you run 'ifconfig'? Does it help if you

Re: helloworld error

2008-09-09 Thread QuanNH
thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: helloworld error

2008-09-09 Thread Parthan SR
On Wed, Sep 10, 2008 at 12:42 AM, QuanNH [EMAIL PROTECTED] wrote: $ wget -O - http://127.0.0.1:5000 --02:08:21-- http://127.0.0.1:5000/ = `-' Connecting to 127.0.0.1:5000... Does your /etc/network/interfaces file have this, (mostly at the beginning) auto lo iface lo inet