To stop session sharing i used code
(要停止会话共享,我使用了代码)
<sessionState mode=”InProc” cookieless=”UseUri”></sessionState>
This is working fine although i am getting awkward URL but it is OK .
(虽然我收到的网址很尴尬,但仍可以正常工作。)
The problem i am facing is :If user is already login to the application and if user directly copy and paste the URL in web browser to open the page, then user can open the page because user has got already an active session.(我面临的问题是:如果用户已经登录到应用程序,并且如果用户直接将URL复制并粘贴到Web浏览器中以打开页面,则用户可以打开页面,因为用户已经具有活动的会话。)
but requirement is to restrict copy and paste of URL to open the page.
(但要求是限制URL的复制和粘贴才能打开页面。)
In such cases what we have to do?(在这种情况下,我们该怎么办?)
i dont have .cs page as this is a old application we have.aspx page with javascript/VB script.
(我没有.cs页面,因为这是一个旧应用程序,我们具有带有javascript / VB脚本的.aspx页面。)
One more issue i got with <sessionState mode="InProc" cookieless="UseUri">
when login to the application and if user directly copy url and paste the URL in web browser to open the page after closing the first one (where we copied url) still user able to open page without login.
(登录到应用程序时,如果用户直接复制url并将URL粘贴到Web浏览器中以关闭第一个页面后打开页面(我们将其复制到<sessionState mode="InProc" cookieless="UseUri">
,则<sessionState mode="InProc" cookieless="UseUri">
网址)仍然可以让用户无需登录即可打开页面。)
Example :http://XXX/YYY/(S(fxiejp3mncnt3wwob3ytkmbf))/Home/FrameSet.aspx if i paste above URL after closing my opened window (where i copied this uRL) USER is able to open apllication.(例如:http:// XXX / YYY /(S(fxiejp3mncnt3wwob3ytkmbf))/Home/FrameSet.aspx如果我在关闭打开的窗口(在其中复制此uRL的位置)后粘贴了上述URL,则USER可以打开一个附件。)
which is seems like bug .(这似乎是错误。)
PLEASE SUGGEST Please suggest(请建议请建议)
ask by ashish translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…