Logout of MC Search and Match Profile and Account Management
- Register Group with Captcha
- View Group Profile
- Edit Group Profile
- MC (Microcommunity) Search and Match
- MC (Microcommunity) Search and Match — Security
- MC (Microcommunity) Search and Match — JavaScript
- MC (Microcommunity) Search and Match — Form
- MC (Microcommunity) Search and Match — PHP
- MC Questionnaire
- Microcommunity (MC) Registration Script — Enter Questionnaire Data in Database
- MC Search and Match Profile and Account Management
- Login to MC Search and Match Profile and Account Management
- Logout of MC Search and Match Profile and Account Management
- MC Questionnaire Login
- MC Questionnaire Info
- Delete Group Account
- Forgot User Name
- Forgot Password
- Form to Send Private Message
- Send Private Message
- Private Message Outbox
- Private Message Inbox
- Delete Private Message from Inbox
- Delete Private Message from Outbox
- Private Message Logout
- Private Message Session Monitoring
- MC (Microcommunity) Search and Match Session Monitoring
- Configure File for Database Connection
- Captcha Script for Registration and Login
This script is called mc-logout.php
First, we use the checkid.php script to ensure that the session id variable is set, and send the user to register-with-captcha.php if it is not. Next we unset the session with session_unset(). This function frees all session variables currently registered. Then we destroy the session with session_destroy, which destroys all data registered to a session. Then we give the users a "See you soon!" message and send them back to the login script at Login to MC Search and Match Profile and Account Management.
The script below is called: mc-logout.php
<?php
include_once"checkid.php";
// mc-logout.php
session_unset();
session_destroy();
echo '<script language="javascript"?>alert("See you soon!"); window.location = "login-to-mc.php"; </script?>';
?>