Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Integration with a .net site
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Integration with a .net site

 Post Reply Post Reply Page  12>
Author
neil.carter View Drop Down
Newbie
Newbie


Joined: 29 March 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote neil.carter Quote  Post ReplyReply Direct Link To This Post Topic: Integration with a .net site
    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
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: 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.
Back to Top
neil.carter View Drop Down
Newbie
Newbie


Joined: 29 March 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote neil.carter Quote  Post ReplyReply Direct Link To This Post 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 Top or Available Methods

LogoutMember

Forces logout of member

Test Form


ParameterValue
Username*
Password*
MemberName*


Back to Top or Available Methods

ChangeMemberPassword

Changes the password for a members account

Test Form


ParameterValue
Username*
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: 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.
Back to Top
neil.carter View Drop Down
Newbie
Newbie


Joined: 29 March 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote neil.carter Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2009 at 11:57am
I must be being thick - but whats the difference between Username and membername 
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: 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.
Back to Top
RexRacer View Drop Down
Newbie
Newbie
Avatar

Joined: 13 March 2009
Location: Florence
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote RexRacer Quote  Post ReplyReply Direct Link To This Post 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
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: 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.
Back to Top
 Post Reply Post Reply Page  12>

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.