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
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 Topic: member API - something destroying login
    Posted: 05 August 2008 at 11:01am
Hi
I'm using the member API.. both blnMemberAPIDisableAccountControl  and blnMemberAPI set tot True
 
In my main site login I set the Sessions as described.
 
When my customer is logged into my site and then clicks the link to the forum, it goes to the default.asp forum page and in the top right I can see the user is logged in.
 
If I click to go anywhere on that page (post a new topic, reply to an existing one) move around the forum) the login is destroyed and the user is no longer logged in.
 
Anyone got any ideas where I've gone wrong?
 
James
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 11:03am
Could be that the cookie is not being set correctly. Do you see a long SID= number in the URL?

To change the way cookies are set edit the file in notepad called includes/setup_options_inc.asp there is an option to set the cookie to the root of the site rather than the directory.
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 11:11am
thanks for the quick reply!.
 
No I don't see anything like that in the QS.
 
One thing I have noticed which is even weirder.
 
If I turn off the API and refresh the main forum front page, I then see the quicklogin form as you would expect (implying that I am deffo not logged in)..
 
I then re-enable the API and FTP it across.. doa simple refresh and I then appear logged into the forum.. and can move around and post.
 
I then logged out... tried to log back in using the API set to to True and it's still kicking me out.
 
very very odd...
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 11:13am
I've changed that cookie path just in case and it's still the same :-(
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 11:14am
just a quick update - I actually see a long SID - is that bad?
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 11:18am
ok another update (sorry!) I've narrowed down the problem to the following:
 
It only happens if the user logs into the site, then he/she can browse and post no problem.
 
They then logout..
if they then log back in.. that's when the problem of it not logged them back into the forum occurs.
 
 
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 11:19am
When the existing member API is enabled then you will not see a login, registration page, or quick login as the users would login and register through your own system.

When you go to the forum after logging into your own system does it show your username at the top of the page? If not then you are not logged into the forum.

The issue may well be with the session variables being parsed to the forum. ASP session variables only work on the same web site and can not be passed across from domain to domain or even sub domains.
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 11:35am
the forum is on the same domain just under the folder /forum_new
...
 
I can post a link if it helps?
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.