Forums

This topic is locked

MX user authorization help needed

Posted 07 Mar 2003 13:13:43
1
has voted
07 Mar 2003 13:13:43 calvin crane posted:
could someone explain what these lines do, its the lines that dreammx adds when you try to protect a page from unathorised use

If (false Or CStr(Session("MM_UserAuthorization")="" Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization")>=1) Then
MM_grantAccess = true....
....

there is a bug or a loophole that lets people through here and i cant see why.

the problem maybee stems from the fact that there is a login page and a registartion page for new users so if they are not registered they go via the second new registration FORM pasge, this doesnt have the dreammx code of log in user attached to it! is this the key???
I think i would like a simpler module based code instead of using the dreamweaver mx code, DID I DISCOVER A BUG???
cheers
mojito

www.vinrougeproductions.com

Reply to this topic