隐藏在url中获取变量? [英] Hiding get variables in url?

查看:166
本文介绍了隐藏在url中获取变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在网址中隐藏获取变量

I want to hide get variables in url

我想要这个

"dem/?p=user"

而不是我传递的任何内容

instead of whatever i passed like

dem/?p=user&act=stored
dem/?p=user&act=changed
dem/?p=user&act=deleted

Mates请帮助我。
预谢谢。

Mates please help for me. Advance thanks.

推荐答案

如果你想隐藏 GET 变量或值,你应该不要使用 GET 。在 GET 方法中,数据始终作为网址的一部分发送。如果您要从用户隐藏数据(或不在URL中显示),则应使用 POST 方法。

If you want to hide GET variables or values you should not use GET. In GET methods the data will always be send as part of the url. If you want to 'hide' the data (or not show it in the URL) from the user you should use a POST method.

这篇关于隐藏在url中获取变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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