Two Technical Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kandi
    Confirmed User
    • May 2001
    • 171

    #1

    Two Technical Questions

    Well, My husband and I got our own webhost, and we are in the process of developing a new member site. My husband is an ASP/NT programmer and a bit lost in the CGI/Javascript world. Two questions:

    1. How do we go about restricting the entry point of the webpage. i.e. we have index.htm as our main frame, and foo.htm as one of the pages inside the site. User goes to foo.htm without first coming through index.htm - how do we control or force the user to enter via index.htm (in ASP it is a response.redirect)

    2. How do we go about setting up an .htaccess and .htpassword file system to restrict entry to our member area.

    Thanks in advance,

    Kandi and Midnight
    Kandi
    You see things that are and say why, I see things that have yet to be and say why not? - G.B. Shaw
  • Midnight
    Confirmed User
    • Jun 2001
    • 330

    #2
    Sorry about that, we got the .htaccess going...but I would still like to know if I can control the way people come into the sight.

    I appreciate any time you take to answer.



    ------------------
    Midnight
    Webmaster
    http://www.midnightventures.com
    Codifico, quindi sono
    icq 118-997-859

    Comment

    • jumbo
      Registered User
      • Jun 2001
      • 4

      #3
      Take a look at http://www.memberscripts.com. They have membership scripts and when I put them on my site they were able to customize their scripts to work with my billing company.

      Comment

      • Henrik
        Confirmed User
        • Jan 2001
        • 228

        #4
        in ASP you can use session variables to decide whether or not a person has logged in. Your main member page could start with the code:

        if not LoggedIn = True then
        response.redirect ("login.html")

        I use this technique to access the admin part of my Tgp. Feel free to contact me through Icq or Email if you have futher questions.

        Comment

        • DamageX
          Marketing & Strategy
          • Jun 2001
          • 14293

          #5
          Why didn't you get a host who provides you with NT/ASP solutions in the first place? Seems to me like you made a somewhat stupid move siging up for a solutions you're not acustomed too... Just my .02
          Whitehat is for chumps

          If you don't do it, somebody else will - true story!

          Comment

          • Midnight
            Confirmed User
            • Jun 2001
            • 330

            #6
            My host does have NT capabilities, however, after discussing everything I wanted to accomplish on the phone with them, they suggested that I go with a Unix solution.

            If one cannot expand and adapt, then one should retire.

            just my 2 cents right back at ya.



            ------------------
            Midnight
            Webmaster
            Midnight Ventures
            a little bit of nasty can be so nice
            [email protected]
            Codifico, quindi sono
            icq 118-997-859

            Comment

            • DamageX
              Marketing & Strategy
              • Jun 2001
              • 14293

              #7
              Dude, you're aware of the fact that your surfers can't click anywhere on your site in order to join, right?

              ------------------
              Respect,
              DamageX
              Whitehat is for chumps

              If you don't do it, somebody else will - true story!

              Comment

              • Midnight
                Confirmed User
                • Jun 2001
                • 330

                #8
                Yes, I am aware of that. The site is under construction, please feel free to visit our other sites.

                You can see kandi's signature block to find them if you are interested.



                ------------------
                Midnight
                Webmaster
                Midnight Ventures
                a little bit of nasty can be so nice
                [email protected]
                Codifico, quindi sono
                icq 118-997-859

                Comment

                Working...