When you talk about 'Script A' and 'Script B', are you expecting communication between handlers for different requests? This isn't possible - one app may be running on multiple, distinct, servers.
–
Nick JohnsonSep 26 '11 at 3:33

Looks very promising, but I don't control the sessions class. But if there were some way that the method could be declared dynamically (like JavaScript) or something, then it might work...
–
SathvikSep 24 '11 at 17:15

1

Can you subclass the 'sessions class' and pass around an instance of the subclass? The subclass would work exactly like the base class, but would have your extra features added in.
–
stevehaSep 24 '11 at 17:42

From the examples on that page it seems one has to always use the .value attribute - so no, not much black magic and not viable to throw into existing code. Hacking the bytecode to add a callback after each assignment would be black magic ;) If percieved hackiness is the reason for the downvote, the downvoter should read the mouseover text of the downvote button.
–
delnanSep 24 '11 at 17:06