Bugs item #1373547, was opened at 2005-12-05 14:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1373547&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 8
Submitted By: Martijn Dashorst (dashorst)
Assigned to: Martijn Dashorst (dashorst)
Summary: Race condition with Session and RequestCycle

Initial Comment:
When a user reloads a page multiple times, quickly
after one another, the session gets shared between
multiple threads. This can lead to two RequestCycles
being attached to the same session.

Currently the Session class has a non-static,
non-thread local field 'cycle', which points to the
current RequestCycle. This field is shared between the
multiple threads, so the last instantiated RequestCycle
will be put on the session, thus resetting the
RequestCycle for the other threads.

RequestCycle is already thread local, so this can be
fixed easily by making all access to the RequestCycle
go through the thread local on RequestCycle.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1373547&group_id=119783


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to