Re: [basedb-devel] Setting active project via API

2010-01-07 Thread Woodbridge, Mark R
Thanks Nicklas. I know this issue has come up on the mailing list a couple of times, but I'm not sure what the solution is. As I said, I'm linking directly to Experiments in BASE from my Flex application. I'm doing this by doing an HTTP POST to /login.jsp with a redirect to views/experiments/i

Re: [basedb-devel] Setting active project via API

2010-01-07 Thread Nicklas Nordborg
Woodbridge, Mark R wrote: > Thanks Nicklas. > > I know this issue has come up on the mailing list a couple of times, > but I'm not sure what the solution is. As I said, I'm linking > directly to Experiments in BASE from my Flex application. I'm doing > this by doing an HTTP POST to /login.jsp with

Re: [basedb-devel] Setting active project via API

2010-01-07 Thread Woodbridge, Mark R
Ok. I assumed session ids could be re-used because the SessionClient constructor allows you to pass one in. That explains why my approach isn't working. I have tried adding a new servlet to the existing BASE web.xml file but I got a strange error that seemed to imply that BASE defines its own C

Re: [basedb-devel] Setting active project via API

2010-01-07 Thread Nicklas Nordborg
Woodbridge, Mark R wrote: > I have tried adding a new servlet to the existing BASE web.xml file > but I got a strange error that seemed to imply that BASE defines its > own ClassLoader. Not in this context, but Tomcat does. http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html > H

Re: [basedb-devel] Setting active project via API

2010-01-07 Thread Olivier Lefevre
>> Disregarding that, do you have any ideas about how to >> link directly to an Experiment without getting the >> 'permission denied' error caused by the wrong project >> being selected? > > You can't link directly. You need to set the active > project first. ?? AFAIK this is the first time t

Re: [basedb-devel] Setting active project via API

2010-01-07 Thread Nicklas Nordborg
Olivier Lefevre wrote: >>> Disregarding that, do you have any ideas about how to >>> link directly to an Experiment without getting the >>> 'permission denied' error caused by the wrong project >>> being selected? >> You can't link directly. You need to set the active >> project first. > > ??