Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Feb 20, 2020 9:13 pm
VoIP Billing solution

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: remember me button
PostPosted: Tue May 13, 2008 3:34 pm 
User avatar

Joined: Thu Jan 31, 2008 10:49 am
Posts: 23
Location: Amsterdam, Netherlands
I've done a remember me button for the login interface I'll post it here in case someone wants to use it.

Line 97 in file "a2customer/templates/default/index.tpl"
                        <tr align="center">
                                <td align="left"><input type="checkbox" name="remember"><font face="Arial,Helvetica, Sans-Serif" size="2"> Remember me next time.</font></td>
                                <td align="right"><input type="submit" name="submit" value="LOGIN" class="form_input_button"></td>

Line 30 in file "a2customer/lib/lib/module.access.php"
                setcookie("PHPSESSID", "",time()-60*60*24*365, "/");

Line 102 in file "a2customer/lib/lib/module.access.php"
                                setcookie("PHPSESSID",$_COOKIE['PHPSESSID'], time()+60*60*24*365, "/");


Sorry, but this is not working. It stops working when the session expires in the server, jeje. I didn't think about that. I'll try to fix it.

Any ideas?

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Auto Dialer Software

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group