Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 24th, 2007, 12:09 PM
Registered User
Join Date: Feb 2007
Location: , , .
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.
Reply With Quote
  #2 (permalink)  
Old March 1st, 2007, 06:34 PM
Friend of Wrox
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
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?)
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 08:20 AM.

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