Print Page | Close Window

using member api, users not autoregistering

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25122
Printed Date: 04 April 2026 at 4:56am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: using member api, users not autoregistering
Posted By: aaronsm
Subject: using member api, users not autoregistering
Date Posted: 09 January 2008 at 5:29pm

what could have gone wrong?

I am using the member API and have set my Session("user") and session("Password") variables however it is just not autoregistering the users.

It was working okay, and I'm not too sure what I have done other than delete some autoregistered users from the database table rather than via the control panel. Could this break it?  I still have my admin user and guest user in there.
 
These are set in the memberapi.asp page.
 
Const blnMemberAPI = True
Const blnMemberAPIDisableAccountControl = True
 
any ideas?
 
thanks
Mike



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 5:31pm
Deleting users directly from the database is not something we support as it can break your database.

Hopefully before you did this you backed up your database, in which case you should go back to your backed up database.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aaronsm
Date Posted: 09 January 2008 at 5:34pm
This is just a dev version at this time, but I need it for a demo  first thing tomorrow morning (as is always the case).   I can reapply the whole database but I dont really want to as it will lose all my settings.
 
Would deleting these few rows really have broken it?


Posted By: aaronsm
Date Posted: 09 January 2008 at 6:14pm
Hi
 
I have restored my code and created a new database,  and its still not autoregistering?
What should I be looking for?
thanks
Mike


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 10:00pm
It sounds like it could be that your site is unable to handle session variables.

Session variables only work on the same site and can not be shared between sub domains.

To check that the session variables are being passed across edit the file common.asp and add into is:-

Response.Write(Session("USER"))

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 10:01pm
I have just noticed that the variables are not what they are meant to be they should be Uppercase:-

Session("USER") = Member_Username
Session("PASSWORD") = Member_Password
Session("EMAIL") = Member_Email


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net