You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Akmal Sarhan <ak...@hotmail.com> on 2002/08/29 13:33:36 UTC
Re: Problem when form is submitted and destination page is refreshed
add the following to the form:
<input type="hidden" name="_session_access_counter"
value="$data.User.AccessCounterForSession" />
regards
Akmal
>From: "raghuram" <ra...@jalvamedia.com>
>Reply-To: "Turbine Users List" <tu...@jakarta.apache.org>
>To: "Turbine Users List" <tu...@jakarta.apache.org>
>Subject: Problem when form is submitted and destination page is refreshed
>Date: Fri, 30 Aug 2002 15:33:44 +0530
>
>hi,
>i have a form to add users. when i submit this form it is supposed to take
>me to a page showing the list of users. now when i refresh this page (the
>user list page) the form is getting submitted again and i get a duplicate
>user error.
>can anybody tell me how to correct this ?
>my form code snippet is :
>form name="userForm" method="post"
>action="<%=link.setPage("user,userlist.jsp").setAction("user.UserAction")%>"
> >
>
>thanks
>raghu
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Loggin and loggout exception
Posted by David Worms <da...@simpledesign.com>.
I am getting some weird exception when I logged in and logged out from my
app. The application still behave correctly. Attached are the stackTrace for
each action.
Does anybody had the same issue?
Where is the problem coming from and how to solve it?
Thks in advance
David Worms
RE: Problem when form is submitted and destination page is refreshed
Posted by raghuram <ra...@jalvamedia.com>.
hi
would you know when this session access counter gets updated. when i try to
check for this value on a form submission i noticed that it was
incremented by 2 but when i try to refresh it was incremented by 1.
thanks
raghu
-----Original Message-----
From: Akmal Sarhan [mailto:akmal_sarhan@hotmail.com]
Sent: Thursday, August 29, 2002 5:04 PM
To: turbine-user@jakarta.apache.org
Subject: Re: Problem when form is submitted and destination page is
refreshed
add the following to the form:
<input type="hidden" name="_session_access_counter"
value="$data.User.AccessCounterForSession" />
regards
Akmal
>From: "raghuram" <ra...@jalvamedia.com>
>Reply-To: "Turbine Users List" <tu...@jakarta.apache.org>
>To: "Turbine Users List" <tu...@jakarta.apache.org>
>Subject: Problem when form is submitted and destination page is refreshed
>Date: Fri, 30 Aug 2002 15:33:44 +0530
>
>hi,
>i have a form to add users. when i submit this form it is supposed to take
>me to a page showing the list of users. now when i refresh this page (the
>user list page) the form is getting submitted again and i get a duplicate
>user error.
>can anybody tell me how to correct this ?
>my form code snippet is :
>form name="userForm" method="post"
>action="<%=link.setPage("user,userlist.jsp").setAction("user.UserAction")%>
"
> >
>
>thanks
>raghu
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>