Ah right. That was a stupid question haha. The problem at the moment is mainly just that it seems to be very slow on GET requests and the whole thing seems very temperamental. Should I post my code up?
On Feb 9, 9:58 am, andrei <[email protected]> wrote: > I use it with mysql, I think postgres is ok. You can always subclass > Store class and implement your storage. > > What do you mean by using cookies with sessions? Webpy's Session saves > session id in cookies automatically for you. > > If you need to manually set specific cookies, then you should read > thishttp://webpy.org/cookbook/cookies > > On Feb 9, 12:10 pm, Oetzi <[email protected]> wrote: > > > > > > > > > I'm using postgres. Is there a faster way to do it? Also, how do I use > > cookies with sessions? > > > On Feb 8, 11:06 pm, andrei <[email protected]> wrote: > > > > It adds a couple of sql requests per each http request (if you use > > > database backend to store session) Loads the session data, updates > > > the access time and saves the session data. > > > > On Feb 9, 1:28 am, Oetzi <[email protected]> wrote: > > > > > Thanks for the comments guys. Will definitely try that out Branko. One > > > > thing that is weird is that it kinda works now but the GETS for > > > > progress have crazy high ping when using servers instead of a global > > > > variable. Does it do a database lookup on each variable access? Or > > > > does it just load at the begininng of the request? > > > > > On Feb 8, 9:58 pm, Branko Vukeliæ <[email protected]> wrote: > > > > > > Also, try disabling debug if you haven't already. > > > > > > web.config.debug = False # if I remember correctly > > > > > > On Tue, Feb 8, 2011 at 8:50 PM, Oetzi <[email protected]> wrote: > > > > > > I am now but it still doesn't seem to be working. Should I call > > > > > > _save() on the session when I increment to keep everything sycned? > > > > > > -- > > > > > Branko Vukelic > > > > > > [email protected]http://www.brankovukelic.com/ -- 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.
