This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes defect in struts token mechanism to handle multiple submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "defect in struts token mechanism to handle multiple submit" Watch "defect in struts token mechanism to handle multiple submit" New topic
Author

defect in struts token mechanism to handle multiple submit

ravitalari srinivas
Greenhorn

Joined: Dec 25, 2008
Posts: 10
Hi everyone,
I am using token mechanism to handle multiple submits.
Here iam facing one problem...
I am creating token using savetoken before going to registration form.
If i submit register then istokenvalid check and process if it is valid token.
But I am facing one problem here..
After generating token ,if i open the page in new window,one window will process as we expected and reset the token.
If i try registration with second window, always go to invalid token because we already reset the token in other window.
Please help me, how can we solve this..............it is urgent.............

Thanks in advance..........
ravitalari srinivas
Greenhorn

Joined: Dec 25, 2008
Posts: 10
hi please help me..........
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There is no built-in mechanism for handling multiple conversations in a single HTTP session (Seam is one of the few frameworks that has this capability built-in).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: defect in struts token mechanism to handle multiple submit
 
Similar Threads
Timeout and retry issue with URLHTTPRequest
Regarding "html: reset " button
How to open New Window from another window in struts 2.0 without using windows.open
Refresh Problem
Disable Button