use beaker On Sun, Jul 12, 2009 at 9:21 PM, Michael <[email protected]> wrote:
> > Hi ! > I'm using web.py-0.32 , every thing went ok ,except for the DBStore > session. > > My database is mysql. > I use Eclipse to debug my application, I fount that there are three > problems while handling the DBstore session: > > 1, It automatically generates one session record even before I do > something related to session ,such as login post. > > 2, the session couldn't never be killed .. (I don't know whether it's > the problem of my code or web.py) > > 3,Too much identical sql query to database for session check while > rendering the same page for once. > > Here is the sql require records, while I'm just opening the login page > (that means before doing form submit),but before this I had clean up > my mysql session table: > > 0.0 (1): SELECT * FROM wss_master_session WHERE > session_id='1da935e10c20f8fcc9b70be6ba8a5fd4cb1c37fa' > 0.0 (2): SELECT * FROM wss_master_session WHERE > session_id='1da935e10c20f8fcc9b70be6ba8a5fd4cb1c37fa' > 0.0 (3): UPDATE wss_master_session SET atime = > '2009-07-13T12:18:31.925619' WHERE > session_id='1da935e10c20f8fcc9b70be6ba8a5fd4cb1c37fa' > 0.0 (4): SELECT * FROM wss_master_session WHERE > session_id='1da935e10c20f8fcc9b70be6ba8a5fd4cb1c37fa' > 0.0 (5): UPDATE wss_master_session SET data = > > 'KGRwMQpTJ2lwJwpwMgpWMTI3LjAuMC4xCnAzCnNTJ3VzZXInCnA0ClZsaWZlbmdAbWVpZGlzZW4u > > \nY29tCnA1CnNTJ3Nlc3Npb25faWQnCnA2ClMnMWRhOTM1ZTEwYzIwZjhmY2M5YjcwYmU2YmE4YTVm > \nZDRjYjFjMzdmYScKcDcKcy4=\n' WHERE > session_id='1da935e10c20f8fcc9b70be6ba8a5fd4cb1c37fa' > > > > -- BidEgg - Worlds best low price Auction site http://bidegg.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 -~----------~----~----~----~------~----~------~--~---
