Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 An ASP file to log out from Snitz
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Uzzio
Starting Member

46 Posts

Posted - 18 December 2003 :  05:18:09  Show Profile
I tried using this(in a file logout.asp) but it does not work :(
What can be wrong?thank you!

:

%>
<!--#INCLUDE FILE="inc_func_common.asp" -->
<%




Call ClearCookies()
Response.Write	"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">"

%>


Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 18 December 2003 :  07:15:44  Show Profile  Visit Gremlin's Homepage
Is the page in the same folder as your other forum files ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 18 December 2003 :  08:32:36  Show Profile
quote:
Originally posted by Gremlin

Is the page in the same folder as your other forum files ?


yes it is :(
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 18 December 2003 :  08:34:02  Show Profile
page's here

www.teamspl.it
click on "forum", :)
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 18 December 2003 :  09:47:56  Show Profile  Visit Gremlin's Homepage
quote:
Originally posted by Uzzio

quote:
Originally posted by Gremlin

Is the page in the same folder as your other forum files ?


yes it is :(


That blows my theory then.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 18 December 2003 :  15:44:42  Show Profile
quote:
Originally posted by Gremlin

quote:
Originally posted by Uzzio

quote:
Originally posted by Gremlin

Is the page in the same folder as your other forum files ?


yes it is :(


That blows my theory then.




but is the code good?or did I forget something in it?
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 18 December 2003 :  17:06:59  Show Profile  Visit Gremlin's Homepage
Calling ClearCookies and then refreshing the page should be enough, it's all I can think of right now that would need to be done anyway.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 19 December 2003 :  16:24:30  Show Profile
quote:
Originally posted by Gremlin

Calling ClearCookies and then refreshing the page should be enough, it's all I can think of right now that would need to be done anyway.



That was what I was thinking too but it does not work
Are there any other possibilities?
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 23 December 2003 :  05:17:39  Show Profile
quote:
Originally posted by Uzzio

quote:
Originally posted by Gremlin

Calling ClearCookies and then refreshing the page should be enough, it's all I can think of right now that would need to be done anyway.



That was what I was thinking too but it does not work
Are there any other possibilities?



Can anyone help me ?
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 23 December 2003 :  07:06:50  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
I would like something like this also.. I want to be able to logout via a text link and this sounds like a solution. If anyone can make it work =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 26 December 2003 :  06:52:59  Show Profile
quote:
Originally posted by tribaliztic

I would like something like this also.. I want to be able to logout via a text link and this sounds like a solution. If anyone can make it work =)


Im trying but seems that this really does not work...I hope someone can help us :)
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 28 December 2003 :  16:55:13  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
So do I =) Maybe all the brainiacs are buzy with that..uh.. what's it called? Christmas? hm... can't remember really ;)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 28 December 2003 :  17:50:06  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Add the green code to your file:

<%
strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))
strUniqueID = "Snitz00"
%>
<!--#INCLUDE FILE="inc_func_common.asp" -->
<%
Call ClearCookies()
Response.Write	"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">"
%>

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz

Edited by - OneWayMule on 28 December 2003 17:50:18
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 29 December 2003 :  10:59:09  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
COOL! That worked like a charm! =)
One little cosmetic thingy... how do I make it show the "you are being logged out"-stuff that's shown via the normal logout-button?

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 01 January 2004 :  05:09:15  Show Profile
quote:
Originally posted by tribaliztic

COOL! That worked like a charm! =)
One little cosmetic thingy... how do I make it show the "you are being logged out"-stuff that's shown via the normal logout-button?



gREAT :)
Thank you 1way!

To make the logout page, I did as this (it a cheap way but it works...)

Log out as usual, when the page displays, stop it and show HTML.
Then copy and resp write it in logout.asp :P
Surely there are better ways :)
Go to Top of Page

Uzzio
Starting Member

46 Posts

Posted - 01 January 2004 :  05:13:22  Show Profile
quote:
Originally posted by Uzzio

[quote]Originally posted by tribaliztic

COOL! That worked like a charm! =)
One little cosmetic thingy... how do I make it show the "you are being logged out"-stuff that's shown via the normal logout-button?



did not work to me :(
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07