help Me

Discussion in 'C#' started by krazzy00, Aug 29, 2009.

  1. #1
    hello friends

    I block user by geolocation in ASP but i want that if any one in block ip enter the password he/she can access the site..
    please help me to get me out..:confused:
     
    krazzy00, Aug 29, 2009 IP
  2. BrightMinds

    BrightMinds Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Care to elaborate? Not sure that made much sence.
     
    BrightMinds, Aug 31, 2009 IP
  3. alexpr07

    alexpr07 Active Member

    Messages:
    284
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #3
    Well, I really need to see the code/site to help you with this but you should have something like this:
    page.asp:
    if blocked_ip and request.form("password1")="" then
     'ask for a password
     <form action="page.asp">
     <input type=password name="password1">
     <input type="submit">
    else
     'show page content
    end if
    Code (markup):
     
    alexpr07, Sep 2, 2009 IP