每笔交易后的唯一页面 [英] Unique page after every transaction

查看:73
本文介绍了每笔交易后的唯一页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助。我正在建立一个游戏网站。所以,为了玩游戏,人们应该付钱。因此,每次成功付款后,页面将指向游戏,以便人们可以在该网站上玩。所以我应该每次只有成功付款才能创建独特的网页。如果他们在没有付款的情况下重新加载游戏页面,则页面不应该正常工作。我怎么能这样做?



我尝试过:



ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

i need help. I am building a game website. So, in order to play the game one should pay the money. So, every time after the successful payment the page will direct to the game so that the people can play in that website. so how should i create the unique web page every time only if the successful payment. If they reload the game page without the payment, the page should not be work. How could i do that ?

What I have tried:

ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

推荐答案

通过将URL复制到另一个浏览器,很容易打败每个付费客户的唯一页面。



我同意约翰内斯的观点。您需要向浏览器发送cookie以建立会话。托管游戏的页面必须验证cookie。您的代码必须跟踪有效的Cookie,并且可能会在一段时间后使这些Cookie失效。
Creating a "unique" page for each paying customer is easily defeated by copying the URL to another browser.

I agree with Johannes. You need to send a cookie to the browser to establish a session. The page hosting your game must validate the cookie. Your code must track valid cookies and presumably expire those cookies after a period of time.


这篇关于每笔交易后的唯一页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆