开发者

Restrict the page to be browsed in the other browser with the same urls

how to restrict the page to be browsed in the other browser with the same urls with out logging asp.net & c#.net.

i followed the following steps for example:

  1. i am logging in to a page developed in asp.net & c#.net.
  2. i am viewing a page.Let it be admin page.
  3. i am copying the url of the admin page.
  4. i am opening another browser window and pasting the url.
  5. i 开发者_如何学编程was able to see the same admin page in the other browser.

the question is how to restrict the opening of admin page in other browser,if they try to open admin page in another browser while user is currently viewing the admin page then it should be redirected to the login page? how could this be accomplished? is there any thing could be done with "login" control tool of the .net frame work?


  • If you copy the URL, close the browser, open it up again and paste the URL does it still work?
  • If you copy the URL, email it to a friend who pastes it in to their browser, does it still work?

I don't think you need to do anything special here, this is just how sessions work. As long as the two cases above do not work, of course...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜