Author |
Topic |
|
funinbc
Junior Member
245 Posts |
Posted - 23 March 2003 : 15:30:58
|
Is this possible? Well I guess anyting is possible...
What we need to do is have only allowed members access a forum (which we have) but we would also like to have it where it also takes a password as well... preferably an expiring cookie? We need to have it where after the user leaves the topic, the cookie expires. This way, others (children, etc..) cannot access the topic eventhough the user may still be logged in the main forum.
Thanks in advance. |
Edited by - ruirib on 23 March 2003 18:32:37 |
|
funinbc
Junior Member
245 Posts |
Posted - 26 March 2003 : 12:29:43
|
Is there a Mod out there or would this have to be written? Basically what we need is to close the door when you leave the topic. Done with an expiring cookie?
There are two topics that we would like to use a password to get into them to keep sensitive eyes out.
Am I explaining it right? |
|
|
puzo
Junior Member
Israel
417 Posts |
Posted - 26 March 2003 : 14:51:12
|
i can make you a script which will only allow certain members (which are already regged) (you add them urself) to view your default.asp page |
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 26 March 2003 : 16:39:41
|
There are no individual forum specific cookies. They are all board wise.
This feature is not implemented in any mod that I know of. Of course, I'm certainly not the best informed guy when it comes to mods, but I'm sure that I never read about this. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
funinbc
Junior Member
245 Posts |
Posted - 27 March 2003 : 21:11:19
|
so what you are saying is there is no way to do this? |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
funinbc
Junior Member
245 Posts |
Posted - 17 April 2003 : 22:53:40
|
has anyone given this some thought? my members are sreaming for this.
there are two rooms that need this because we have kids around |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 17 April 2003 : 22:57:56
|
WHy don't you change the Auth Type to just password protected. Given your situation it would probably be the best option. Anyone could access it as long as the password is specified. Forces password to be written, I know, but looks like that's what you'd want to happen all the time. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
funinbc
Junior Member
245 Posts |
Posted - 18 April 2003 : 11:51:52
|
Thank you for your advise. I tried that but we need it to have it where after the user leaves the topic, the cookie expires and has to re-type it in every time he wants to get into the room
|
|
|
davemaxwell
Access 2000 Support Moderator
USA
3020 Posts |
Posted - 18 April 2003 : 13:36:43
|
Just comment this line out of inc_func_secure and you should be fine. It will prevent the cookie from being stored (the only problem with this method is it will require EVERY access to the forum/topic to enter the password....)
Response.Cookies(strUniqueID & "Forum")("PRIVATE_" & rsStatus("F_SUBJECT")) = Request("pass")
The other thing you could do is add a small section of code to default.asp and active.asp (if you're like me and hardly ever go to the front page of the forums) that is something like this:
strSQL = "SELECT F_SUBJECT " & _
" FROM " & strTablePrefix & "FORUM " & _
" WHERE F_PRIVATEFORUMS IN (2,3,7)"
Set rsClear = Server.CreateObject("ADODB.Recordset")
rsClear.open strSql, my_Conn
if rsClear.EOF or rsClear.BOF then
' Do nothing. No passwords to clear...
else
Do while not rsClear.EOF
' Clear the password for that forum....
Response.Cookies(strUniqueID & "Forum")("PRIVATE_" & rsClear("F_SUBJECT")) = ""
rsClear.MoveNext
Loop
End If
|
Dave Maxwell Barbershop Harmony Freak |
|
|
|
Topic |
|