Computer Hope

Internet & Networking => Web design => Topic started by: Zylstra on September 15, 2007, 09:32:45 PM

Title: HTACCESS Login problem
Post by: Zylstra on September 15, 2007, 09:32:45 PM
Hello, my family website has an issue whenever the forum directory is entered.
Okay, lets pretend the domain is www.asdf.com and the location of the forum is under /forum/
and the main part of the site is under /family/

Okay, so, after you get past index.htm you enter /family/
You click Forum, it brings you to forum.htm, and then you click the "Enter Forum" link and it brings you to ../forum/ (Back one directory, forward to forum directory)

So, now this big old HTACCESS password protection box appears... again. My users have already logged in, and now they get the login box again. How can I prevent this?

Title: Re: HTACCESS Login problem
Post by: michaewlewis on September 17, 2007, 08:53:13 AM
How about a cookie?
Title: Re: HTACCESS Login problem
Post by: Zylstra on September 17, 2007, 06:24:32 PM
How about a cookie?
Unfortunately, HTACCESS does not use cookies, they use the actual browsers sections, but they are extremely secure, which is why I use them on my family website (you know, phone and email, photos, that kind of thing needs to be protected)
Title: Re: HTACCESS Login problem
Post by: michaewlewis on September 18, 2007, 07:16:18 AM
Is there a grace period which you can enable on the server that doesn't kick a user off for a set amount of inactivity?
I'm going to read up on htaccess and see if I come up with anything. I've never used it but it sounds like something I should look into. ;)
Title: Re: HTACCESS Login problem
Post by: Zylstra on September 18, 2007, 04:46:51 PM
Is there a grace period which you can enable on the server that doesn't kick a user off for a set amount of inactivity?
I'm going to read up on htaccess and see if I come up with anything. I've never used it but it sounds like something I should look into. ;)
Nope, no grace period.
HTACCESS uses the browser section, its nearly impossible to log out of without closing your browser. (Though, some people have figured out ways that I haven't figured out yet)