Yepp, it works nice !
Here is part of the code:
*****
'The members username in the forum will use the name part of the windows authentication username,
'if the forum admin would like to change the members name to something different, they can log
'into the forums online 'control panel' and the 'Change Username' tool to change the members name
dim bNewUser 'This is boolean
bNewUser=False 'set to "False" by default
'Set the variable below to true if you are using windows authentication
blnWindowsAuthentication = True
****** (rest of the code)
'Create a forum session for the user to keep them logged
Call saveSessionItem("UID", strAuthenticatedUser)
Call saveSessionItem("NS", "0")
'Return function
windowsAuthentication = strAuthenticatedUser
if bNewUser then
response.redirect("registration_rules.asp")
end if
End Function
' here is my redirect, on the bottom..
if bNewUser then
response.redirect("registration_rules.asp")
end if
%>
Edited by MIG - 21 May 2008 at 3:01pm