关于运行时的页面URL [英] Regarding Page URL at Run time

查看:63
本文介绍了关于运行时的页面URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我想让我的应用程序网址更简单
http://test/Login.aspx
http://test/home.aspx
http://test/lead.aspx等等
当我运行我的应用程序时,我想像这样在地址栏中显示URL
http://test/
那么当页面将重定向到另一页面时,它会在地址栏中显示相同的地址.
http://test/
如果有任何解决方案,请尽快帮助我.
谢谢问候
hardik

hi friends,
i want simple that my applications URL
http://test/Login.aspx
http://test/home.aspx
http://test/lead.aspx like many more
When i run my application i want to display URL in address bar like this
http://test/
then when page will redirect at another page it is display same address at address bar.
http://test/
Please help me if any one has solution ASAP.
Thanks Regards
hardik

推荐答案

使用Server.Transfer在页面之间移动,这不会反弹回客户端并且不会更改URL.使default.aspx运行,以便不需要页面名称.所有页面都需要执行此操作,任何链接也必须是链接按钮才能执行此操作.
Use Server.Transfer to move between pages, this does not bounce back to the client and does not change the URL. Make a default.aspx to run so that no page name is needed. All pages would need to do this, any link would have to be a link button to also do this.


别担心,我第二次删除了您在此询问的位置.不要问了两次,如果您想添加细节,请编辑您的帖子.
Don''t worry, I deleted where you asked this a second time. Don''t ask twice, edit your post if you want to add detail.


您可以使用HTML FRAMES来实现.
You can achieve that using HTML FRAMES.


这篇关于关于运行时的页面URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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