Hello,

I have a struts2 portlet with a registration page that contains a captcha.
The captcha i generate from a servlet that i declare in my web.xml and map
to /captcha.  The captcha's are identified by the session id of the request,
and then are validated in my action using the ServletRequestAware interface
and grabbing the session id from it.  I have deployed my portlet to WAS 6.1,
and have also run it using jetty/pluto, and everything seems to work fine in
these environments.  However, I would like to run my portlet remotely using
WSRP.  When doing this, it seems like there is a new session generated when
accessing the captcha servlet, different from the session used to access the
portlet.  This means that when i try to validate the captcha in my action,
no captcha exists for my portlet session id.  I realize that this is a very
convoluted setup, and probably not the fault of struts, but i was wondering
if there was a way to garuntee that only a single session is generated, or
if there was a way to find out about the captcha session from within action.

I will be happy to provide any code / config files if you think that would
help.

Thanks,

Brian

Reply via email to