Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - member API - something destroying login
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

member API - something destroying login

 Post Reply Post Reply Page  <123>
Author
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: 05 August 2008 at 12:19pm
Quote When you go to the forum after logging into your own system does it show your username at the top of the page?
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2008 at 12:53pm
yes, but only when first logging in from the main site.. I then go to the forum and everything is logged in and  I can post and reply etc as normal.
 
I then click logout (from the forum link) and I am logged out as it should be..
 
I then click on my main site to login (i.e log back in again) and it goes through normally on the main site, but when I click to go back into the forum.. it's not logged in...
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: 05 August 2008 at 1:11pm
This is very odd.

Maybe if you haven't already try entering your sites login and logout links into the functions/functions_existing_member_API.asp file and see if that helps.

You may also want to add into your own logout file code to destroy the session variables that you set for the forum as this may help clearout things a bit.
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2008 at 1:17pm
Hi Bruce,
ok I can't see the functions/functions_existing_member_API.asp file!!
in my functions folder there is only the functions/functions_member_API.asp
 
Am I missing one?
 
Also - my functions_member_API.asp file has the logout and login links specified.. and my logout script nulls the Sessions set ("USER")("PASSWORD") ("EMAIL")
so I know they are blank ...
 
 
 
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2008 at 4:21pm
bump..
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2008 at 5:38pm
Is this happening to you or to everyone on your site ?
Can you give me a link so I can test this ?
 
I personally think this is setup incorrectly, i think you are logging in and setting the forum api sessions which then lets you browse the forums etc and then logout which deletes the sessions but not the forum cookies, then when you return to the forum after logging back in the original forum cookie remains but a new session is set.
 
I cant remeber what I did on my forum logout, I know that I called both mine and the forum logout scripts I just cant remeber in what order. Try this, try redirecting to the forum logout script when you logout using your script.
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2008 at 10:32am
Hi Jamie,
No problem.
 
The site is by another person, but I've just added some back-end CMS for him.
 
However if you go to:
www.learn-medical-statistics.com and look in the top left click to register and create a new account.
 
When that's done, that top navigation will change and you will see a link for Support Forum.. click that and you will be taken to the forum where , as you will see, you are logged in as you should be and can post etc.
 
then click the logout button.. that goes to that user_logout.asp page in the forum, which in turn then (according to the link I've set in the API) goes to MY logout script which nulls all the values in the cookies and the sessions..
 
I've got this working on several other sites I've helped out on but can't see what I've done wrong with this one?
 
Cheers for the help!
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2008 at 1:19pm
Ok, so when you register it logs you and you can go to the forum.
When logged out and then attempt to login you are not logged in on forums.
 
When someone registers it sets the login session, is that the same login session set when that person logs in using the login form ?
Back to Top
 Post Reply Post Reply Page  <123>

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.