Print Page | Close Window

API Bug

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=30999
Printed Date: 30 March 2026 at 12:27pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: API Bug
Posted By: GhOs+
Subject: API Bug
Date Posted: 30 April 2014 at 4:31pm
I'm using API with the current forum release. When someone clicks "Register" or "Login" on the forum, they are redirected to the specified API page. However, when they click "Reply", they get the forum login page, not the API one. I'll fix it on my end with a redirect, but can you fix it in future forum releases so I don't have to go back and keep changing it?
 
Thanks!!
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 30 April 2014 at 4:48pm
The API is intended to be used with your own system with it sending messages server side to the API and not intended to be used directly by your visitors.

Once you have used the API to create the members account server side you then need to read back server side the login code which you then use to create your own session variables and cookies to login the 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: GhOs+
Date Posted: 30 April 2014 at 5:35pm
Right, I understand that. I've specified the API login URLs in the functions_member_API.asp file:
 
Const strMemberAPILoginURL = "URL-for-loginpage.asp"
Const strMemberAPIRegistrationURL = "URL-for-registration.asp"
Const strMemberAPILogoutURL = "URL-for-logout.asp"

If someone clicks on "Login" option on any of the forum pages, they are properly redirected to the URL specified above. But when someone clicks on "Reply" they are not taken to the login page specified in the first variable above, but rather the forum login.


Posted By: WebWiz-Bruce
Date Posted: 01 May 2014 at 9:52am
Sorry I understand now you are not using the HTTP API but the Member API.

Will look in to this.


-------------
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