How can I set variables in python / trac that are reset to null every
page load? According to your comment above I used class level
variables which persist across page reloads even when different people
are viewing the page.
What I want to do every page load is (psudocode):
user_authenticated = False
if not user_authenticated:
run auth code
user_authenticated = True
Problem is, the value or user_authenticated is saved across all page
loads, when I actually just want it set once and remembered for the
current page load by python / trac. Hopefully this explains what i'm
after.
On May 27, 3:02 am, Erik Bray <[email protected]> wrote:
> On Tue, May 26, 2009 at 6:43 AM, Scott <[email protected]> wrote:
>
> > Care to explain how I would do this?
>
> How to do what now?
>
> (And this, folks, is why we don't top post (even if gmail has a bad
> habit of doing it by default)).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" 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/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---