Print Page | Close Window

Member API - Other session variables

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=26066
Printed Date: 03 April 2026 at 9:37am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Member API - Other session variables
Posted By: jadam
Subject: Member API - Other session variables
Date Posted: 04 August 2008 at 3:12pm

Now that I figured out that Web Wiz does not like aspx pages when setting variables....

Can I push other variables when using the API?
 
For example, I have a members table of about 700 users, most will never use the forum, so for my sanity's sake, I will auto log them into the forum if they ever decide to use it. I want to assign them a member's group ID so they won't bother me about changing their access but at the same time I still want to have public access to some of the forums.
 
So if my logic isn't totally fried I will need to create different login pages... One for members (to check about the member data) and one for general public use to access the forums otherwise I risk having a member with two different logins.
 
Is this correct?
 
Thanks,
Joe
 
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 04 August 2008 at 3:32pm
If you use the exiting member API then you can put in your own sites login and registration pages, then present and new users will be directed to your own login and registration pages.

When a member first goes to the forum after logging into or registering on your own system a new account is created for them in the forums database using the data parsed in the session variables from your system. New members are placed into the 'Starting Group' which can be set in the Group Administration section in the admin area of web wiz forums.


-------------
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: jadam
Date Posted: 04 August 2008 at 5:23pm

THanks, I was hoping to be able to force the intitial Group ID from the session variable. Looking thru the member API I see that you are only passing user, password and email.

I also see that the XML API will pass all the variables normally associated with the user. Unfortunately I know even less about XML parsing. I looked at the examples, they seem pretty straight forward.
 
Are there any examples lying around on how to handle an XML response in ASP?
 
I've looked at my local bookstores and they h=only have ASP.Net books, it is getting tougher to find straight ASP books.
 
Thanks,
Joe
 
 
 


Posted By: WebWiz-Bruce
Date Posted: 04 August 2008 at 6:23pm
Do a search on Google for:-

MSXML2.ServerXMLHTTP

and

Msxml2.FreeThreadedDOMDocument

There are plenty of examples.

The code in the extras folder to get the last 10 posts uses the same technique to get the XML RSS Feed from the forum and parse it to display the last 10 posts, you just need to use a similar technique but also include posting information to the HTTP XML API.


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