Hi all

We just started playing around with the new cConnection class and it all seems to work very smoothly. However, I do have problem right now.

When logging in, the user can chose which database to log in to. I save the chosen database as web server session property and redirect on every call (OnSyncWebApp). This works fine. I also tried adding a column to the session table to save the DB there and redirect in validate session - also works fine.

On my Dev machine, everything works as expected, the RedirectConnectionId does it's job and redirects (even when not in debug mode).
But on a test server, the redirect never happens. Whatever database I chose to go in to, I always end up in the one defined in my .ini-file.

And RedirectConnectionId returns True - so it seems the connection is setup alright, but I still see data from the other database..

What might I have missed?

thanks