IOWA error

M

Mark Probert

Hi, all.

Any ideas on what the following IOWA error may mean?

concurrent session access for #
/usr/local/ruby/site_ruby/iowa/Session.rb:85:in 'handleRequest'


Regards,
 
K

Kirk Haines

Hi, all.

Any ideas on what the following IOWA error may mean?

concurrent session access for #
/usr/local/ruby/site_ruby/iowa/Session.rb:85:in 'handleRequest'

Yep.

It means that the application already has a thread that is still running
handling a prior request for that session. My in-development version
doesn't fail on this condition, but instead just lets the new thread block
while waiting for access to the session.

This is a mixed blessing, and I am thinking of making this behavior
configurable. The error typically happens either because there was an
intentional action, either someone clicking multiple times too quickly on a
link or a button, or because you are intentionally firing off requests
quickly via some client-side code (i.e. I have an app for doing file
downloads that triggers multiple IOWA actions on a single click), or it
happens because you have an error in some piece of your ruby code that is
keeping it from returning in a reasonable amount of time.

In the case of an error, it's probably better to get the concurrent session
access message than for everything to just silently block. However, in the
case of a benign or intentional seuqence of requests that simply came in on
a single session too fast, it's a good thing if they wait quietly for their
shot at the session.

Mark, if you want it, I can send you a replacement Session.rb from the in-
development codebase that simply logs the session collision and then blocks
the thread until it can get access to the session instead of throwing an
error. Just email me privately.


Thanks,

Kirk Haines
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IOWA error message 2
IOWA error 2
RPA and iowa 6
IOWA error 6
ANN: Iowa 0.9 Released 11
'net/ssh' error 3
ANN: Iowa 0.9.1 Released 4
IOWA and XHTML 0

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top