-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
hi alex, i would say, that normally a session should not expire while the user uses the application, unless otherwise configured in your application. alex Alexandre da Silva wrote: > > Em Sáb, 2008-01-19 às 15:33 -0800, Barry Hart escreveu: >> Although in my example I showed straight SQL, in practice, you should >> use SQLObject or SQLAlchemy against the Visit class to manipulate >> visit objects. You can use all the normal features of these libraries >> to query or manipulate visit records. If you want to drop a session, >> your approach of changing the expiry is fine. I suppose you could also >> simply delete the record. >> > as I've said, "almost" works. > the behavior is the follow: > when I change the expiry or delete the record (does not matter what way) > if the connected user simply click in another link in application, his > connection will became close, however if user just press F5 to refresh > current page, the TG engine recreate the visit key at database and user > will continue logged in. is very strange, but this issue is what is > happening. maybe it can be considered a "bug" in TurboGears, because (I > have no tested) it can also occurs when session really expires. > may some TG core developer check this issue? > > thanks for replies. > > > Att > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBR5Lbc9pwN1sq38njAQIOHAQAu6BKmhL1PsuRaE0cntVGqvDdMsfjsmjR Gg/v+hAKc4C2zl1P8/fqvY93apgoEGdASfvbeAUbRque/sla6cTjAuixZgLdI0xO bABqHBM+mx0EE/qFqw5FBBYL8f4LhwgPcvmU8/1w8JVtR71j2peD1/wsCyMOePM7 2LHm3tGb4GI= =+xra -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

