Wrox Programmer Forums
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 24th, 2007, 12:09 PM
Registered User
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Monitoring URL

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.
Old March 1st, 2007, 06:34 PM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

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?)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring DrPurdum BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 8 November 25th, 2008 06:37 AM
Monitoring gangeles VB.NET 0 May 22nd, 2006 09:38 AM
COM+ Monitoring using COMSVCSLib bappelt VB Components 2 August 1st, 2005 10:39 AM
extract URL from Favorites (.URL Files) PhilHawks VB.NET 2002/2003 Basics 2 November 2nd, 2004 04:35 AM

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