It would be a bit of a pain, if you want to make it really accurate.
What Neo posted will probably work but there are SO MANY possibilities for $location.
Like I said, if you want to make it really accurate, move the inforum field from the user table to the session table, and edit updateforumuser() (or is it updateuseroforum()?), and instead of updating the user table there update the session table (you'll need to edit a different shut down query).
|