http://wiki3.caucho.com/index.php?title=Always-load-session&feed=atom&action=historyAlways-load-session - Revision history2024-03-29T15:14:34ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki3.caucho.com/index.php?title=Always-load-session&diff=4326&oldid=prevPcowan at 16:00, 7 December 20112011-12-07T16:00:22Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:00, 7 December 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">{{Cleanup}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]] [[Category:Sessions]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]] [[Category:Sessions]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Pcowanhttp://wiki3.caucho.com/index.php?title=Always-load-session&diff=4325&oldid=prevPcowan at 15:59, 7 December 20112011-12-07T15:59:59Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:59, 7 December 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">{{Cleanup}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]] [[Category:Sessions]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]] [[Category:Sessions]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Pcowanhttp://wiki3.caucho.com/index.php?title=Always-load-session&diff=1449&oldid=prevFerg at 18:11, 30 November 20052005-11-30T18:11:35Z<p></p>
<p><b>New page</b></p><div>[[Category:Configuration]] [[Category:Sessions]]<br />
<br />
<always-load-session/> tells Resin's [[persistent session]] manager to always load the session <br />
from the backend database, even if Resin thinks its cached session is up-to-date.<br />
<br />
In general, <always-load-session/> should be false.<br />
<br />
= Example Scenario =<br />
<br />
If a load balancer is using an un-clustered set of backend Resin instances,<br />
the jdbc store with always-save-session and always-load-session should cause the <br />
session to be loaded from the database for each request.<br />
<br />
The load-balancer is completely random in it's usage of the backend servers, <br />
the overhead of having Resin load and save the session from the database for <br />
every request is acceptable.</div>Ferg