oPg Gaming Forum
May 25, 2012, 10:46:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Make payments with PayPal - it's fast, free and secure!
News: Stay tuned to opggaming.com for new features, modifications, and improvements.
 
   Home   opggaming Help Arcade Search Calendar stats SourceBans Login Register  


hd-gaming
Pages: [1]   Go Down
  Print  
Author Topic: Quick question  (Read 512 times)
0 Members and 1 Guest are viewing this topic.
benji
...
Full Member
***
Posts: 120



« on: April 27, 2007, 11:36:08 AM »

I noticed that the login on the front page redirects back to the front page, and the login in the forums redirects back to the forums, for rabidrobotgaming.com when i try and change the redirect for the login on the homepage it changes the login in the forums also, I would like to have ours the same way as your's

what I have currently for the front page:
Code:
<?php require_once("SSI.php"); ?>
<?php ssi_login('http://rabidrobotgaming.com/'); ?>
<div align="center">
<?php ssi_logout('http://rabidrobotgaming.com/'); ?>
...
Logged
Mongoose
Worst Admin Evar
Hero Member
*****
Posts: 2436


SO CASH


WWW
« Reply #1 on: April 27, 2007, 11:45:44 AM »

When I logged in on the forums today I was redirected to the front page.
Logged

Latro
Guest
« Reply #2 on: April 27, 2007, 11:52:49 AM »

we're using a session call instead of adjusting the login url in the function

So its something like:

Code:
$_SESSION['login_url']= 'http://theopgclan.com/index.php';

ssi_login();


you can also use something like:

Code:
ssi_logout($redirect_to = 'http://theopgclan.com/index.php');
Logged
Latro
Guest
« Reply #3 on: April 27, 2007, 11:54:02 AM »

When I logged in on the forums today I was redirected to the front page.


My guess is you were using firefox, and navigated to http://www.theopgclan.com when you logged in?  For some reason, the cookie isn't handling this correctly all the time in Firefox..  It works perfectly if you log in from http://theopgclan.com 

That 'www' is screwing up the cookie...
Logged
Jedakiah
Hero Member
*****
Posts: 4632



WWW
« Reply #4 on: April 27, 2007, 12:16:53 PM »

I have had the same problem.  And yes it was firefox and www. 
Logged

Gidgidonihah
Seriously, what does it mean?
Moderator
Hero Member
*****
Posts: 2163



« Reply #5 on: April 27, 2007, 01:40:04 PM »

Maybe have 2 cookies?
I like cookies.  The more cookies the better.  Can I have some milk, too?
Logged

Latro
Guest
« Reply #6 on: April 27, 2007, 01:55:24 PM »

Its generated by SMF... and I haven't looked into how they handle their cookies....
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!


Google visited last this page May 20, 2012, 09:17:36 PM