Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
General
 MetaMatica Forum : General
Subject Topic: Logout Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
webmaven
Newbie
Newbie


Joined: 12 April 2007
Online Status: Offline
Posts: 19
Posted: 26 September 2007 at 8:57am | IP Logged Quote webmaven

Is there are log-out feature?

Thanks;
web maven

Back to Top View webmaven's Profile Search for other posts by webmaven
 
administrator
Admin Group
Admin Group
Avatar

Joined: 01 October 2003
Online Status: Offline
Posts: 46
Posted: 26 September 2007 at 12:02pm | IP Logged Quote administrator

Log out feature have a sense in Cookie authorisation method.
See the scropr below. You can save this script as logout.asp file. Also read the comments, please.

<%
'Example of logout script for cookie authorization
'This script may be placed in the root of the protected area
Option Explicit

Response.Cookies("IISKeeperUser") = ""

'You must specify protected web path here
Response.Cookies("IISKeeperUser").path = "/iiskeeper/protected2/"

'You can write here any URL you need
Response.Redirect("/iiskeeper/protected2/")

%>


In other words we simply remove the cookie


Edited by administrator on 26 September 2007 at 12:04pm


__________________
Oleg Yershov
Back to Top View administrator's Profile Search for other posts by administrator Visit administrator's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.91
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.0615 seconds.