p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Visual Basic 2005 Basics (http://p2p.wrox.com/forumdisplay.php?f=137)
-   -   Monitoring URL (http://p2p.wrox.com/showthread.php?t=54532)

Dhananjay prajapati February 24th, 2007 12:09 PM

Monitoring URL
 
HI,
I am new to socket programming, I need help for creating an application in vb.net 2.0 with following feature:

1) Monitoring every URL type by the user in the browser

2) User should not be allowed to send any request in browser if he has not logged in through application.


Please help me.
Thanks in advance.

BrianWren March 1st, 2007 06:34 PM

You are best advised to do this through a different mechanism. Your application could, for instance, send a memory cookie when the user logs in.
Every request would then look for that cookie, and would not be serviced if it is not present. (This is similar to how Sessions are handled.)

In the app that I wrote, and which I maintain every request starts by looking for a valid Session in the user's name. If it is not present, they are shown the login screen instead of what they asked for.

I don't think you can "monitor" URLs, nor have any affect on the browser. Al I think you can do is monitor requests.

I don't know if you can have web services look at a request, and then pass that on to the normal request/response mechanism when the request is deemed to be valid, but you might look into that.

Are these resources dynamic, or are they purely static pages? (*.ASPs? *.ASPXs? *.HTMs? *.HTMLs?)


All times are GMT -4. The time now is 01:12 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.