如何使用vb为asp.net中的所有页面提供相同的url路径 [英] how to give same url path to all pages in asp.net using vb
本文介绍了如何使用vb为asp.net中的所有页面提供相同的url路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为了网站安全,我想为我所有的aspx页面提供一个文件夹url路径
例如:
http://www.e-commerce/newfolder
(适用于所有aspx)
帮帮我
预先感谢,
RK
解决方案
好,甚至在开始之前,您都应该隐藏目录,然后在代码中链接到您正在使用的任何脚本,并在脚本硬代码中url到一个已命名的常量,只需在网页中调用它即可.
我们可以使用<Iframe>
轻松地在其中实现
例如,请参阅本文
http://myworkcodes.wordpress.com/2011/05/05/130/ [ ^ ]
>
for website security, i want to give one folder url path to all my aspx pages
eg:
http://www.e-commerce/newfolder
(for all aspx''s)
help me
advance thanks,
RK
解决方案
Well before even starting that you should hide the directories, then in the code do a link to whatever script you are using, and in the script hard code the url to a named constant, just call it in the webpage.
we can achive it easily there by using<Iframe>
see this article for example
http://myworkcodes.wordpress.com/2011/05/05/130/[^]
这篇关于如何使用vb为asp.net中的所有页面提供相同的url路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文