because the query is based off a session, it's difficult.
I have replaced:
WHERE attendee.attendeeId = %s OR ( -1= %s AND attendee.attendeeId= %s) with WHERE attendee.attendeeId = 1
or some other id # and I get results on the web page.
Could there be something wrong with the way I'm calling the session? I have included the registration page as well in case there is something there.