ITPUB??ì3
ITPUB论坛 » WEB程序开发 » How do make it happen?


标题: How do make it happen?
离线 TeachME
一般会员


精华贴数 0
个人空间 0
技术积分 536 (3540)
社区积分 0 (64221)
注册日期 2002-9-13
论坛徽章:0
      
      

发表于 2008-2-1 03:57 
How do make it happen?

I am new in web application and I have a pl/sql package using web toolkit. When people submit credit card, the
page is hanging for the credit card validation through gateway, sometimes people cannot wait the process
complete and  they click on back button or refresh buttons on the page, then they get pay twice. How do I prevent double submission of credit card page?

Thank you in advance.


只看该作者    顶部
离线 TeachME
一般会员


精华贴数 0
个人空间 0
技术积分 536 (3540)
社区积分 0 (64221)
注册日期 2002-9-13
论坛徽章:0
      
      

发表于 2008-2-1 03:58 
UP!


只看该作者    顶部
离线 window2003
一般会员



精华贴数 0
个人空间 0
技术积分 152 (11822)
社区积分 2 (29628)
注册日期 2006-10-22
论坛徽章:0
      
      

发表于 2008-2-4 09:59 
foreigner ??? understand chinese...


stupidly, if I get this work, I will let the gateway to remember the identification of each user or request! like use session id,or when a request come in,you assign a hidden token to it! and if the request url come from itself which means refresh,you ignore it!
database check is also necessary! you use some marks in your database to verify if the user has already been processed!

do not forget javascript! it's a good assistant for your implementation!

[ 本帖最后由 window2003 于 2008-2-4 10:04 编辑 ]


__________________
What can be more beautiful than truth and nature in life!caofujun123@hotmail.com
只看该作者    顶部
离线 TeachME
一般会员


精华贴数 0
个人空间 0
技术积分 536 (3540)
社区积分 0 (64221)
注册日期 2002-9-13
论坛徽章:0
      
      

发表于 2008-2-5 06:29 
Thank you for your response.
Question?
   How do capture the session id? Thank you.

stupidly, if I get this work, I will let the gateway to remember the identification of each user or request! like use session id,or when a request come in,you assign a hidden token to it! and if the request url come from itself which means refresh,you ignore it!
database check is also necessary! you use some marks in your database to verify if the user has already been processed!

do not forget javascript! it's a good assistant for your implementation! [/quote]


只看该作者    顶部
离线 window2003
一般会员



精华贴数 0
个人空间 0
技术积分 152 (11822)
社区积分 2 (29628)
注册日期 2006-10-22
论坛徽章:0
      
      

发表于 2008-2-14 17:28 
happy china year!

mean this:
        HttpSession session = request.getSession();
        System.out.println(session.getId());

I am not sure???


__________________
What can be more beautiful than truth and nature in life!caofujun123@hotmail.com
只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问