Thanks alot! It's works fine now.

On Mar 29, 3:50 pm, Anand Chitipothu <[email protected]> wrote:
> On Thu, Mar 26, 2009 at 10:08 PM, bm <[email protected]> wrote:
>
> > Hi!
>
> > There is slightly modified script from cookbook:
>
> > web.config.session_parameters['timeout'] = 30
> > web.config.session_parameters['ignore_expiry'] = False
> > session = web.session.Session(app, web.session.DiskStore('sessions'),
> > initializer={'count': 0})
>
> > class count:
> >    def GET(self):
> >        session.count += 1
> >        return str(session.count)
>
> > class reset:
> >    def GET(self):
> >        session.kill()
> >        return ""
>
> > It doesn't work. If I point my browser to localhost:8080/count, I have
> > message "Session expired".
>
> > How make sessions expiration work properly?
>
> There seems to be a bug. I fixed it now. Can you try again with new code?
>
> http://github.com/webpy/webpy/commit/0c96ed8a500eb494efc457b71c17c487...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to