@Nicolás Miyasato

Do HTTP caching headers affect the cookie expiry?
What HTTP caching headers are you issuing when setting and reading the
cookie value?

Thanks

Nicolás Miyasato wrote:
> On Jul 11, 7:04 am, Mark Scerri <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am trying to create a session variable to store some data (as a
> > cookie) on the client side. The cookie is created however its content
> > is not being set. Is there a way how to use browser sessions? I am
> > creating the session in this way:
> >
> > cherrypy.response.simple_cookie['data'] = data
>
> Weird... I'm using the very same thing with the Tabber widget and it
> works.
>
>       if 'selected_tab' in kw:
>                       selected_tab = kw['selected_tab']
>                       cherrypy.response.simple_cookie['tabberTGTabber']= 
> selected_tab
>
>
>
> --
> Nicolás Miyasato


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to