Hello.
I am running Web Wiz forums under ASP with my own existing user database (not Webwizforums new user registration).
So say a user named "BillA" logs into my site, upon his first visit to WebWizforums an account will be created for him automatically with the same username. This WebWizforum (WWF) feature is described here:
http://www.webwiz.net/web-wiz-forums/kb/existing-members-api.htm - http://www.webwiz.net/web-wiz-forums/kb/existing-members-api.htm
Here is the code I use to login to the forums:
mypass = objrs("password")
myemail = objrs("email")
(username is defined already)
Session("USER") = Username
Session("PASSWORD") = mypass
Session("EMAIL") = myemail
response.redirect("default.asp")
The first two lines of code get the password and email address of the user from the SQL database. Session variables are set (as per WWF documentation) and the user is redirected to the default page of WWF.
The problem is that randomly access is lost. I have only 3 levels of access for the forum: basic, advanced and administrator. Sometimes advanced as well as administrator accounts default to basic access levels. That is, you can only see and access the first access level forums. I can't even login to the Admin features as the Admin menu disappears (obviously).
The only remedy for users and myself is to logout of my site, close the browser and log back in and try the forums again.
What is going on here?
edit: I just tried my forum now and initially it let me in with admin access (all forums visible) but when I clicked on a single forum it gave me an error message about not having access. The [login] box then appears at the top of the forum page leading me to believe that it isn't so much a loss of access but it's not maintaining the login state. Even if I go back to the forum via the same page that sets the session variables, it fails.