Print Page | Close Window

Integration with a .net site

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


Topic: Integration with a .net site
Posted By: neil.carter
Subject: Integration with a .net site
Date Posted: 07 January 2009 at 11:48pm
I have been trying to integrate webwiz  within a .net site using the member api. Unfortunately it appears that .net session variables are completely different from asp sessions variables.
 
Does anyone have any other ideas how to achieve integration.
 
Neil



Replies:
Posted By: WebWiz-Bruce
Date Posted: 08 January 2009 at 8:45am
ASP.NET and ASP sessions can not talk to each other.

Instead of the simple existing member API you would need to use Web Wiz Forums more powerful HTTP XML API which can be used to allow you to talk to Web Wiz Forums from ASP.NET, PHP, ColdFusion, etc.

It's not as simple to use but much more powerful allowing you to use XML passed to the API using HTTP to talk directly to Web Wiz Forums.

To find a list of actions and methods point your browser to the HttpAPI.asp file folund in the root of your forum.


-------------
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: neil.carter
Date Posted: 08 January 2009 at 10:25am
ok 

in that case I have a couple more questions. I guess I need to use the following somehow:-

LoginMemberCookie

Returns members login cookie data, to create your own login cookie to the forum

Test Form


ParameterValue
Username*
Password*
MemberName*
MemberPassword


Back to  http://www.bhpc.org.uk/forum/HttpAPI.asp# - Top  or  http://www.bhpc.org.uk/forum/HttpAPI.asp#AvailableMethods - Available Methods

LogoutMember

Forces logout of member

Test Form


ParameterValue
Username*
Password*
MemberName*


Back to  http://www.bhpc.org.uk/forum/HttpAPI.asp# - Top  or  http://www.bhpc.org.uk/forum/HttpAPI.asp#AvailableMethods - Available Methods

ChangeMemberPassword

Changes the password for a members account

Test Form


ParameterValue
Username*


Posted By: WebWiz-Bruce
Date Posted: 08 January 2009 at 11:47am
Cookies are not like sessions where the data is stored on the server, instead cookies store the data on the clients web browser and can be read in on any part of the website by both ASP, ASP.NET, PHP, etc.

The login cookie data returns the data that can be used to build a cookie which will auto login the user to the forum.

The 'MemberName' is the name of the forum member you want to get the data for.


-------------
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: neil.carter
Date Posted: 08 January 2009 at 11:57am
I must be being thick - but whats the difference between Username and membername 


Posted By: WebWiz-Bruce
Date Posted: 08 January 2009 at 12:06pm
The Username and Password fields that are required for each action are for security, you must pass across the MasterAdminLoginName and the MasterAdminLoginPassword.

This is the username and password for your master built in admin account to authenticate the call as a valid call by yourself and not an unauthorised user trying to hack your forum.

The documentation at the top of the page gives some examples.


-------------
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: RexRacer
Date Posted: 25 March 2009 at 2:54am
Bruce,
 
Is there a step by step guide in useing the HttpAPI.asp and passing the sessions from asp.net to asp?
 
I'm really having a hard time with it and not really sure how you suppose to use the HttpAPI.asp to move the username and password asp.net sessions variables to the ASP bages and vice-a-versa
 
Can you even use the HttpAPI.asp with the evaluation version of webwiz forum?
 
I've been using WebWiz forums for a long time and very grateful for your work.
 
Thank you very much
 
Rex


-------------
Rex Racer


Posted By: WebWiz-Bruce
Date Posted: 25 March 2009 at 7:42am
You can not pass variables between ASP and ASP.NET.

The XML HTTP API allows you to post data from an ASP.NET page to the API which will return and XML result which you would then parse using ASP.NET.

This is quite a standard way for an XML HTTP API to work and there are lots of examples on the web on how to use such API's. The hardest part would be parsing the XML data returned, but ASP.NET is very good at handling XML.

You can use the API to post data to the forum to create a new member in the forums database. You can also use it to return an XML response with the data needed to create a forum login cookie which can be used to log a member into the forum from ASP.NET.


-------------
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: ivanbee
Date Posted: 11 May 2009 at 2:43pm
Is there a step by step instruction on how to do this? Or if someone was successful in doing this please post your solution to help user like me who is stuck in this situation. Thanks.



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