| Author |
Topic Search Topic Options
|
brianmisty
Newbie
Joined: 11 April 2007
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
Topic: 9.04 Great member API features...but Posted: 04 September 2007 at 6:33am |
I jsut upgraded from 9.03 to 9.04 and the Member API changes are wonderful. I had documented numerous changes that would have had to be made with every update, and 9.04 incoroporated all of those change in the Memebrship API with a few other features. Thank you!
I continue to have issues with cookies not clearing properly when a user's group/role is changed. What happens is that a user logs in and makes a few posts. I later change his group to a moderator role (for instance). Now, anytime he tries to log in again, he is unable to without first clicking the "clear WWF cookies" link. Once the link is clicked, he is automatically logged in. Otherwise, he could log in a hundred times, but when he hits the forum page, he will only see "Login".
As I've said in a prior post, I can reduplicate this every time on any browser. The forum seems to be chocking on the cookie. I would appreciate any help with this.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 9:48am |
|
This will be looked into to try and replicate the problem.
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 12:23pm |
|
Have been trying to replicate this issue for several hours now and can not find the issue you mention.
Could you do a step by step guide on how to replicate this issue?
|
|
|
 |
brianmisty
Newbie
Joined: 11 April 2007
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 September 2007 at 5:09am |
I moved the forum from shared space at MaximumASP to a dedicated server at MaximumASP. I was hoping this would solve the problem as the shared space was using an ISAPI filter for domain name redirection. I am now setup using standard host headers, and unforunately, my users are still reporting the same problems.
I am on a 9.04 installation with login disabled from the forum.
The issue goes like this...
1. The User Logs in from organization's my website... the first time, they are asked to create a username. Once they do this, their username, password, and email address are dropped into the membershipAPI session varibales, and the users are logged in... no problelms so far as users can post... logout, log back .. whatever.
2. The problem comes when I want to make a user a moderator, or perhaps change their username, or change them from newbie to the groupie role. Once I do this, I get an email from the member that they can not log in, no matter how many times they try. They can only log in normally again once I explain that they need to click the clear cookies link. Once they do this, they are strangely logged in automatically.
We are in a test phase right now with just 8-10 users, and virtually everyone has complained with this problem once I changed their group status. If you still can't replicate this, I can provide you with a test membership to our organization.
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 September 2007 at 5:58am |
|
No one had ever pointed cookie problem in the way you did brianmisty. WWF had certain problem with cookies which -borg- would usually say, even microsoft has same issues sometimes.
As far as i could find out from v7 to v9 version, the reason is unknown to me and i didn't have similiar issue. But cookie problem is a very very rare issue for me. I never see it to happen very often.
Would you once again check, as you are using member API, i guess some other cookie could be messed up with WWF, Just to make sure?
|
|
|
 |
brianmisty
Newbie
Joined: 11 April 2007
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 September 2007 at 6:09am |
|
This is almost certainly a Membership API issue, and only seems to happen when then the WWF login forms are disabled and the use must log in externally. This is possibly why it hasn't been noticed thus far. It happens on FF2 and IE7, and the users have been from all over the US and one in Switzerland. I have also replicated the issue from 2 entirley different server setups.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 September 2007 at 9:13am |
|
Can not find the issue you mention with the members group, as this is read in each time so is not cached.
However, you mention changing a users name. This will certainly course problems.
The API tracks users from your own system by their username. When a user comes from your system it takes the username, sees if that user is in the database, if they are logs them in as that user, if they are not it creates a new user under that username.
If you change the persons username you will break the API and it will no-longer work, and more likely you will have the issues that you mention.
Will look at completely disabling the changing of usernames in future versions when using the API to prevent such issues from happening.
|
|
|
 |
brianmisty
Newbie
Joined: 11 April 2007
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 September 2007 at 4:18pm |
Borg,
I would discourage you from disabling usernames changes with the Memebrshsip API. The users only had to click the "remove cookies" link, and they were back posting again. The problem isn't just from changing the usernames, although it was the cause on 2 occasions. I receive a complaint EVERY TIME I have changed a users group, that they could not log in.
I have noticed a few other related issues. When I am logged into the forum.. and I close the browser... then I go to another computer (or the same computer on a different browser), and log into the fourm under the same user name)... when I go back to the original browser, I am not logged in automatically, and further, I cannot log back into the forum until I click the delete cookies link. My users that user multiple computers, one at work and one at home, also have this problem.
We are close to opening forum membership up to 6000 members of our organization, but until we find a work around... there are just too many complaints and cookie problems to do so. If you have a suggestion, I am certainly open to them. We had the problem on 9.03, as well, so I doubt a reinstall would do. I may try to disable the saving of the session in a cookie, and redirecting non-logged in users back to the login page.
|
 |