如何设置会话变量以在图库视图中单击图像并加载到新页面

发布于 2024-12-13 18:41:12 字数 304 浏览 1 评论 0原文

当单击图像库中的图像时,我需要加载到另一个页面并设置类似这样的 $_SESSION['IssueID'] ,我知道通过 URL (获取方法)发送它,但我不希望用户即使通过邮寄方法也无法知道这个“IssueID”。我该怎么做...

我在这个

设置一个PHP $_SESSION['var'] 使用 jQuery

这里我想加载页面而不向用户显示数据......

when click a image form the gallery of image, i need load to another page along with setting the $_SESSION['IssueID'] something like this, i know by send it through URL (get method) but i don't want the user to know this 'IssueID' not even by post method. how can i do it...

i saw some what similar to my query in this

Setting a PHP $_SESSION['var'] using jQuery

here i want load page with out data been shown to the user....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

木落 2024-12-20 18:41:12

如果您使用 Ajax(或者甚至您链接的其他线程上显示的方式),用户将看不到任何内容,因为它发生在后台。

The user won't see anything, if you use Ajax (or even the way shown on the other thread you linked), because it happens in the background.

破晓 2024-12-20 18:41:12
  1. 使用 cookies 是一种简单的技术。
  2. mysql堆表是一个临时表,你可以使用它
  1. Using cookies is simple technique .
  2. mysql heap table which is a temporary table you can use this
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文