Thank you a lot.
Schneider.
On 8/10/07, programmer.py <[EMAIL PROTECTED]> wrote:
>
> pylons.wsgiapp.PylonsApp will create a session for you automagically.
> You can see the PylonsApp created in your middleware.py. By default
> (as far as I can tell glancing at the source) it gives you beaker as
> the session manager. The session is available to your controllers as
> the session variable.
>
> Maybe this example helps...
>
> class TestController(BaseController):
> def woot(self):
> session['time'] = time.time()
> # Be sure to save the session!
> session.save()
> return Response('Ok, i set the `time`.')
>
> def showtime(self):
> return Response('The time for session is %s' %
> session['time'])
>
> HTH!
> jw
>
> On Aug 10, 1:54 pm, "Gustavo Schneider" <[EMAIL PROTECTED]> wrote:
> > Hi everyone, I'll be soon cause my english isn't very good.
> > I'm looking for information about how pylons and beaker work together.
> > I visit Beaker website at http://beaker.groovie.orgbut I did not
> > found any information about it.
> > Can anyone point me in 'right road'?
> >
> > Thank you in advice,
> > Schneider
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---