找不到URL中的内容 [英] Can't find what it is in the URL

查看:109
本文介绍了找不到URL中的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有



当我运行它时,我有一个维护项目,URl如下所示

http://slts/%28S%28v2daodzknw52xf55i2hg24nm%29%29/Form/LoginPage.aspx [ ^ ] ==>登录页面



http:/ /slts/%28S%28v2daodzknw52xf55i2hg24nm%29%29/Form/Tracking.aspx?PageName=&PageMenu=TRACKING [ ^ ] ==>跟踪页面





i不知道URL中的'%28S%28v2daodzknw52xf55i2hg24nm%29%29''是什么。



它运作良好,但是a登录后如果我将该跟踪页面(第二个链接)URL复制到另一个系统的URL,那么它将直接进入该页面。

实际上它应该重定向到登录页面(第一个一个)但它不是那样的工作(直接来到跟踪页面)。

我不知道会话是如何工作的。



可以任何人告诉我可能是什么问题,以及如何解决这个问题。

hi all

I have a project for maintenance when i run it the URl comes like below
http://slts/%28S%28v2daodzknw52xf55i2hg24nm%29%29/Form/LoginPage.aspx[^]==>Login Page

http://slts/%28S%28v2daodzknw52xf55i2hg24nm%29%29/Form/Tracking.aspx?PageName=&PageMenu=TRACKING[^]==>Tracking Page


i don''t know what is ''%28S%28v2daodzknw52xf55i2hg24nm%29%29'' in the URL.

It works well, but after logged in and if I copy that Tracking Page(2nd one link) URL into another system''s URL, then it will directly come to the page.
actually it should redirect to Login Page(First one) But it is not works like that(Directly comes to Tracking page).
I dont know how the session works.

Can any one tell me that what might be the problem, and what to do to rectify this issue.

推荐答案

这只是一些URL编码的URI: http://en.wikipedia.org/wiki/URL_encoding [ ^ ]。正如您所看到的,%28和%29编码''(''和'')''字符,这些字符没有什么特别之处,它们甚至是大多数文件系统中的有效文件路径字符。



第二个URI显然使用URI参数。参数列表以?开头,参数用&分隔。这是一种非常草率的方式,可以将一些任意参数从HTTP响应(可能只是引用页面中的 anchor 元素)传递到请求的页面。然而,经常使用这种技术,甚至是一些不错的网站。实际上,在我的观察中,它的使用越来越少。由于我们无法看到服务器端脚本代码,因此它绝对可以是任何东西。一些参数。



-SA
This is nothing but some URL-encoded URI: http://en.wikipedia.org/wiki/URL_encoding[^]. As you can see, %28 and %29 encodes ''('', and '')'' character, which are nothing special, they are even valid file path characters in most file systems.

The second URI apparently uses URI parameters. The list of parameters starts with ''?'' and the parameters are delimited with ''&''. This is a pretty sloppy way of passing some arbitrary parameters form a HTTP response (which could be simply an anchor element in the referral page) to the requested page. Nevertheless, this technique is often used, even is some decent sites. Actually, it is used less and less, in my observation. As we cannot see the server-side script codes, it can be absolutely anything. Some parameters.

—SA


PrashantSonewane是正确的,



在sessiostate标签中的cookieless是问题所在,比



i改变了我的webconfig文件



来自



< sessionstate timeout =180> cookieless =true mode =InProc >



to



< sessionstate timeout =180> cookieless = false mode =InProc>



现在我得到了我的确切解决方案。



感谢PrashantSonewane和Sergey Alexandrovich Kryukov以及ryanb31的宝贵回复。

感谢代码项目
PrashantSonewane is correct ,

cookieless in sessiostate tag is the matter of problem, Than

i changed my webconfig file

from

<sessionstate timeout="180"> cookieless="true" mode="InProc">

to

<sessionstate timeout="180">cookieless="false" mode="InProc">

now i got my exact solution.

Thanks to PrashantSonewane and Sergey Alexandrovich Kryukov and ryanb31 for your precious reply.
And Thanks to code project


这篇关于找不到URL中的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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