Important Notice:
Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I was trying to find a way to redirect someone to something other than the ModernBill login page once the user logs out.
The answer I found from MB knolwagebase is a little disappointing: Has anyone done it without the developer's version? Quote:
|
|
#2
|
|||
|
|||
|
I do not have the developers ver and have not attempted what you want but this is what is in my index.php file:
Code:
// ----------------------------------------
// LOGOUT AND DESTROY ALL SESSION VARIABLES
// ----------------------------------------
case 'logout':
if (session_unset()) { session_destroy(); }
setcookie("myip",'',-216000);
setcookie("ip",'',-216000);
Header("Location: $https://$secure_url"."$index_page");
break;
Make copies first. Then change this as directed and try it. |
|
#3
|
||||
|
||||
|
Your right! I changed it to
Code:
Header("Location: http://www.mysitelocation.com";
|
|
#4
|
|||
|
|||
|
Great!!!
And how it looked like it would work from the code.... |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirect main domain to folder without changing URL | capcaunu | Shared Web Hosting | 3 | 03-25-2009 06:26 AM |
| node67 redirect | H9Alex | Maintenance/Outages | 2 | 03-19-2009 09:28 AM |
| Auto redirect on checkout problem | bandituk | WHMCS | 3 | 09-15-2008 01:03 PM |
| REDIRECT not WORKING? | mossimo | Reseller Hosting | 0 | 03-10-2008 03:42 AM |
| How do You Redirect HTTP to HTTPS ? | mginop | Web Hosting | 7 | 01-27-2008 12:48 PM |





Linear Mode

