?
Solved

Script or code to check if hotel uses a signon page

Posted on 2007-10-10
1
Medium Priority
?
443 Views
Last Modified: 2012-06-21
Some hotels require that the user signs on to the network before they can access anything on the internet

Our company uses a proxy server, which means that users that wish to get on the internet at a hotel, have to first connect to our VPN. They are unable to do this most of the time since they have not yet signed on.

Currently our solution requires that the user accesses a fake address ie ("199.199.199.199") which we configure in the network settings to bypass the proxy server. When the address is called upon the hotel signon screen appears since the hotel sees the computer trying to access the internet. They can then signon and continue to log onto VPN. We want to automate this process. Is there anyway to script a program that will check to see if a signon page is required?
0
Comment
Question by:bbcac
1 Comment
 
LVL 16

Accepted Solution

by:
grahamnonweiler earned 2000 total points
ID: 20052993
Most hotels work in the same way as any "hotspot" or public internet access service works - by using a captive portal. Basically this means that although an IP address is allocated to the user - they do not have any Internet access until the sign-on procedure has been carried out over the capitve portal.

As the logon script will change between hotels - and it usually requires some user input - I'm not sure how/why you want to try to script this. I assume what you are trying to prevent is your users changing their "proxy" settings in their browser settings - but in some cases (where a hotel actually uses 8080 or some other port like 800 for its own proxy) if they do not change these they will not be able to connect at all.

There are some "connection managers" around that bascially provide the type of functionalty you are looking for - but more often than not these will probably only make life even harder for you.

Perhaps if you could explain why you want your users to use your company proxy when they are traveling it might be easier to answer your need for a script - but bear in mind - many hotels (certainly those outside the US) will not work if the "gateway" is pushed through the VPN - becuase this in turn would cause the hotels access points DHCP server to drop the assigned IP.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month16 days, 14 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question