Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Saved sessions while using MemberAPI
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Saved sessions while using MemberAPI

 Post Reply Post Reply
Author
Khhroom View Drop Down
Newbie
Newbie


Joined: 02 February 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khhroom Quote  Post ReplyReply Direct Link To This Post Topic: Saved sessions while using MemberAPI
    Posted: 02 February 2009 at 1:43pm
Hi there!

I'm trying to integrate Web Wiz Forums with my own members database.

First of all I encounter some problems when Session("USERNAME") contain non-english characters (russian in my case). Since you guys using INSERT INTO clause in functions_member_API, but somehow missing "N" before single quotes "'" all non-english characters become "?" and it's all fails... I'm going to purchase Web Wiz anyway if will be able to make it work, so I added N's here and there and managed login working correct.

But now I got another problem, when I log out using my own logout procedure, Web Wiz authentication still there and user is still online for forums... I set

Session("USER") = ""
Session("PASSWORD") = ""
Session("EMAIL") = ""

when doing logout, but look like authentication session come back from cookies.. How can I disable saving anything in cookies?

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: 02 February 2009 at 3:01pm
Have a look in the log_off_user.asp file of web wiz forums for what sessions and cookies to clear when logging off.
Back to Top
Khhroom View Drop Down
Newbie
Newbie


Joined: 02 February 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khhroom Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2009 at 4:31pm
Yeah, already there. Can you please describe what they used for:

Response.Cookies(strCookiePrefix & "sID") = ""
Response.Cookies(strCookiePrefix & "sLID") = ""
Response.Cookies(strCookiePrefix & "lVisit") = ""
Response.Cookies(strCookiePrefix & "fID") = ""

When sID and sLID used, and what fID is about?
Back to Top
Khhroom View Drop Down
Newbie
Newbie


Joined: 02 February 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khhroom Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2009 at 5:11pm
Looks like the best way to logout correctly is just to run log_off_user.asp:

Server.Execute("/forums/log_off_user.asp")

And not to forget to move cookies to root.
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.