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)
 is there a mod to auto logout?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fastrax
Starting Member

35 Posts

Posted - 18 March 2005 :  05:02:26  Show Profile
Had a member forget to logout on a public computer and someone else used there credentials to cause a lot of havoc. Is there a way to time out? Or have it auto logout when you close the browser?
Thanks.

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 March 2005 :  06:02:02  Show Profile
Yes, intCookieDuration in config.asp is the number of days the cookie will remain on a user's machine. And the user will be automatically logged out if they uncheck the remember password checkbox when logging in.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 18 March 2005 :  09:58:45  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
So if you set that for 0, would the cookie expire right away? I'm not planning on doing this, I'm just curious how the cookie expiration works.

h

I reject your reality and substitute my own.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 18 March 2005 :  18:20:45  Show Profile  Visit Gremlin's Homepage
Yes it should then expire immediately (which would actually cause a few problems)

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

fastrax
Starting Member

35 Posts

Posted - 18 March 2005 :  18:54:40  Show Profile
what about having the remember password check box unchecked by default?
Secondly if you set the cookie experation for say 15 min and you are on the site for longer than that will it ask for you to relogin after the 15 min?
Go to Top of Page

s80ts0465
Junior Member

Italy
290 Posts

Posted - 20 March 2005 :  05:18:52  Show Profile  Send s80ts0465 an ICQ Message
I'm interested in it too. But from what i can understand i think thta is only possible to set days and not hours or minute. So the minimum period that is possible to set i 1 day

is it correct??
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 20 March 2005 :  05:47:08  Show Profile
Fastrax,

In inc_header look for this code:
"                <input type=""checkbox"" name=""SavePassWord"" value=""true"" tabindex=""-1"" CHECKED><b> Save Password</b></font></td>" & vbNewLine
and change it to this:
"                <input type=""checkbox"" name=""SavePassWord"" value=""true"" tabindex=""-1""><b> Save Password</b></font></td>" & vbNewLine
quote:
Originally posted by fastrax

what about having the remember password check box unchecked by default?
I take it that by removing the CHECKED, it would have to set the check to not be there. At least then they have to click it to keep them logged in.

I was on the understanding that the person had to end their session on the Public Internet access point anyway, so that would clear the forum then there was no need for the Auto Logout and stuff.

When I was working at a bank for their Internet banking support team, there was an Auto Logout script after a certian ammount of inactivity, it would end the users session, but this required a DLL to be loaded on the server.

I hope that all makes sense and helps you out.

Cheers,

David Greening
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 20 March 2005 :  09:59:37  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
quote:
Gremlin says:
Yes it should then expire immediately (which would actually cause a few problems)

OK, I wasn't going to do that, I was just curious. I'm not real familiar with how cookies work.

h

I reject your reality and substitute my own.
Go to Top of Page

fastrax
Starting Member

35 Posts

Posted - 24 March 2005 :  19:30:21  Show Profile
Hmmm didn't work, not sure if it was because I was over tired or my forum is so over modded that I missed somthing... I have a portal mod and integration installed and other such stuff. I am intrigued by the auto logout script though. Just wonder if it's over kill or not. hehe

Just to let you know. I have the following mods installed. I suspect that a couple of them probably causes the above fix not to work as predicted.

Active users 4.0
Avatar
David’s portal mod
File sharing mod
Header cell image mod
Invite a friend
My own google
Newsletter
Private messages
Private messages block list
Site integration
Photo album
Links manager
Smile manager plus
Smile manager plus admin
Topic maker
Poll mod
IE spellchecker
Forum news mod
Topic and member hyperlink mod
IP gate
My Personalization
Flash mod
Navigation bar

Edited by - fastrax on 24 March 2005 21:03:17
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07