Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - using member api, users not autoregistering
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

using member api, users not autoregistering

 Post Reply Post Reply
Author
aaronsm View Drop Down
Newbie
Newbie


Joined: 02 January 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote aaronsm Quote  Post ReplyReply Direct Link To This Post Topic: using member api, users not autoregistering
    Posted: 09 January 2008 at 5:29pm

what could have gone wrong?

I am using the member API and have set my Session("user") and session("Password") variables however it is just not autoregistering the users.

It was working okay, and I'm not too sure what I have done other than delete some autoregistered users from the database table rather than via the control panel. Could this break it?  I still have my admin user and guest user in there.
 
These are set in the memberapi.asp page.
 
Const blnMemberAPI = True
Const blnMemberAPIDisableAccountControl = True
 
any ideas?
 
thanks
Mike
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: 09 January 2008 at 5:31pm
Deleting users directly from the database is not something we support as it can break your database.

Hopefully before you did this you backed up your database, in which case you should go back to your backed up database.
Back to Top
aaronsm View Drop Down
Newbie
Newbie


Joined: 02 January 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote aaronsm Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2008 at 5:34pm
This is just a dev version at this time, but I need it for a demo  first thing tomorrow morning (as is always the case).   I can reapply the whole database but I dont really want to as it will lose all my settings.
 
Would deleting these few rows really have broken it?
Back to Top
aaronsm View Drop Down
Newbie
Newbie


Joined: 02 January 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote aaronsm Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2008 at 6:14pm
Hi
 
I have restored my code and created a new database,  and its still not autoregistering?
What should I be looking for?
thanks
Mike
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: 09 January 2008 at 10:00pm
It sounds like it could be that your site is unable to handle session variables.

Session variables only work on the same site and can not be shared between sub domains.

To check that the session variables are being passed across edit the file common.asp and add into is:-

Response.Write(Session("USER"))
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: 09 January 2008 at 10:01pm
I have just noticed that the variables are not what they are meant to be they should be Uppercase:-

Session("USER") = Member_Username
Session("PASSWORD") = Member_Password
Session("EMAIL") = Member_Email
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.