Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Session_Destroy() Not Working Right

Asked Modified Viewed 807 times
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
  • Answered 2 questions
asked
Senior Member

I have a puzzling problem. In Fusion 9.03.110. Since session handling is all done in maincore why won't my logout script work for logging out? I need to add that this is not within PHP-Fusion itself it's my blog infusion. https://trans-galactic.com/grims_blog.../index.php
<?php
require_once "../maincore.php";

session_destroy();
header("Location:index.php");
?>

Or do I need to specifically UNSET the other involved session variables?
Edited by Grimloch on 26-07-2021 13:54,
0 replies

2 posts

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

If your site uses PHP Fusion, what's the point of having a second login system?

You have PHPFusion's maincore.php included in your page (or whatever it is). So you can use all PF features and login system as well.
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
  • Answered 2 questions
answered
Senior Member

Because I do not want my blog registrants to be registered in PHP-Fusion. My blog infusion is a hybrid system. I do utilize a lot of PF's functions and features thus, a hybrid system rather than a stand-alone blog system. I do not plan to offer my blog infusion for beta testing because it is a hybrid system and I don't think the community would accept it. If I can just solve the sessions problem it will be complete.

UPDATE: I have solved my sessions problem so this can be closed.
Edited by Grimloch on 27-07-2021 15:59,
0 replies

Labels

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

G
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
  • Answered 2 questions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet