Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Member API - Other session variables
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Member API - Other session variables

 Post Reply Post Reply
Author
jadam View Drop Down
Newbie
Newbie
Avatar

Joined: 20 March 2005
Location: Windsor, CT USA
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jadam Quote  Post ReplyReply Direct Link To This Post Topic: Member API - Other session variables
    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
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jadam View Drop Down
Newbie
Newbie
Avatar

Joined: 20 March 2005
Location: Windsor, CT USA
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jadam Quote  Post ReplyReply Direct Link To This Post 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
 
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.