Home page redirection, where is it best done ?

Discussion in 'ASP General' started by itsharkopath@yahoo.com, Jan 26, 2005.

  1. Guest

    Hi,
    Imagine a user in a hotspot, when he comes to the hotspot and tries
    to load a webpage (on the internet), he would automatically redirected
    to login page.
    I believe the following is to be done.
    There should be a DHCP server setup which gives the arriving clients
    IP, default router address etc.

    Where should the homepage redirection be done,
    1. It could be done at the default router, the clients who haven't
    authenticated would be given IP from a fixed address pool, and if the
    IP packets are from that address pool the default router sends the
    packet to the login webserver with a change in the destination IP
    address (to the login server). Now this involves configuring the
    router, does the standard routers allow this kinda configuration
    without significant hacking of the system. Here after successfully
    logging in the user is given a different DHCP config info.

    2. In DHCP configuration information, a system in their domain is
    claimed as DNS, so when the user tries to load a page the DNS server
    gives the IP of the login webserver as IP of all the webservers any
    user is trying to access. Are there any problems in this. Ofcourse, the
    client side stores that IP for all the pages the user tries to login,
    however, the user would not try to load another page once (or utmost
    twice) the page is redirected to login page. So, this doesn't seem to
    be a problem at all. What should be used here as DNS, should a specific
    application be written for this purpose or is there any widely used
    software component that provides this functionality.
    Here after the user successfully authenticates, she is provided with
    new DHCP settings (DNS, IP address etc)

    Is there any other way to do this redirection
    -shar.
     
    , Jan 26, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nancyflorida
    Replies:
    0
    Views:
    336
    nancyflorida
    Nov 12, 2007
  2. nancyflorida
    Replies:
    0
    Views:
    321
    nancyflorida
    Nov 12, 2007
  3. * Its my Pleasure *
    Replies:
    0
    Views:
    382
    * Its my Pleasure *
    Feb 20, 2008
  4. Thomas Fujita
    Replies:
    1
    Views:
    294
    Kenny
    Oct 22, 2003
  5. Zhidian Du
    Replies:
    0
    Views:
    158
    Zhidian Du
    Feb 21, 2004
Loading...

Share This Page