5 Aug 2017 by OriginalGriff
We can't help you with this: it requires the contents of your Session, and your database - neither of which we have access to. So, its going to be up to you. Put a breakpoint on the first line in the function, and run your code through the debugger. Then look at your code, and at your data and...