If you switch from SSL to non-SSL you may pick up a different session. I cannot say for sure. Byt print the auth.user_id value when you do the insert that causes trouble.
On Jun 21, 2:16 am, pbreit <pbreitenb...@gmail.com> wrote: > I switch between SSL and non-SSL for /user and not-/user. I wonder if that > could be a problem?