Saved sessions while using MemberAPI
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26926
Printed Date: 02 April 2026 at 10:13pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Saved sessions while using MemberAPI
Posted By: Khhroom
Subject: Saved sessions while using MemberAPI
Date 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?
|
Replies:
Posted By: WebWiz-Bruce
Date 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.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: Khhroom
Date 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?
|
Posted By: Khhroom
Date 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.
|
|