I had been looking through the code in active.asp and trying to find out if the code can be modified to improve the readability and performance, without changing the logic and current expected output. I will post what I think may be changed and for the Dev team to review. I will try my best to undestand the logic and need of code in the file before posting. But if I post a suggestion which might lead to unexpected output, please excuse me for my oversight and or lack of understanding.
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
I think you'll find active.asp is pretty good now, compare whats there with 3.3.x and you'll see a whole lot of improvements already in its performance Its gone from sometimes taking 300-400 (or more) Database calls to generate the page to just a handfull
There was a big long topic on active.asp that Grazman started a few months ago, to me it looks like almost everything that was suggested in that thread for improvement has been implemnted in 3.4 not just in active.asp but all over the place
I agree with you Gremlin. There is lot of work done and the current active.asp is well coded. The database calls have been reduced a whole lot, however there are few things which can be taken care of to further enhance the performance. They may be minor but each performance gain will add up to the overall performance. I will post as soon as I am finished.