Displaying 1 result from an estimated 1 matches for "domonitor".
Did you mean:
do_monitor
2006 Feb 26
0
Ajax, MemoryStore and sessions
...g(:arg1, @params[:arg1], :size => 5, :maxlength => 5) %>
<%= submit_tag("Submit number with Ajax") %>
<%= end_form_tag %>
<div id="mydiv">
</div>
<p>
<%= form_remote_tag(:update => "monitor",
:url => {:action => :domonitor}) %>
Start the monitor process:
<%= submit_tag("Start monitor with Ajax") %>
<%= end_form_tag %>
<div id="monitor">
</div>
Here is the controller code:
def ajaxp2
session[:value1] = params[:arg1]
logger.warn("p1=" + params[:arg1])
lo...