by azwiz December 20th 2014, 1:54 am
I have been editing my last post for a while now . Do you even see them ?
Oops . Had no idea there was a page 2 .
If it isn't a forumation chat . How do I find out who made it . It turns out I don't have a restore point for then .Â
I still don't understand how you can give a code that eliminates the duration and then you tell me that there never was a duration ?
if you don't wish to use forumotion chat for what ever reasonÂ
No I don't want to change the chat . Way over my head . But I would like you to restore what you deleted yesterday Please .
"or in a widget on your homepage or portal page by creating a new widget inÂ
modules>homepage widgets or portal widgets"
I don't know anything about the codes I would need . So that would not help me .
If I can only edit ? How do I qoute ?
What about this idea ?
session_start(); // 20 mins in seconds $inactive = 1200; $session_life = time() - $_session['timeout']; Â if($session_life > $inactive) { Â Â session_destroy(); header("Location: logoutpage.php"); } $_session['timeout']=time();
If this were the right code to log a user out after being inactive for 20 minutes ( I am assuming it is the right one ) . Where would I put it or enter it ?
If it isn't written right for this forum , could one of you use this and create one for me ?
IDK if php works in html ?
Last edited by azwiz on December 20th 2014, 2:06 am; edited 4 times in total (Reason for editing : transfer recent posts from page 1)