1
butters
Xoops Double login
  • 2004/11/16 23:34

  • butters

  • Just popping in

  • Posts: 7

  • Since: 2004/10/3


On my XOOPS website users log in ok but the page refreshes and they have to log in a second time.

Can anyone please help.

I can't figure it out.

Log in on main page.
Main page refreshes as if redirecting to the main page.
Page displayed is same as first page.
User logs in a second time and is allowed access to the site.

Regards
Butters

2
tl
Re: Xoops Double login
  • 2004/11/17 0:26

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Your webiste link has www, but your mainfile does not have www included.

Xoops 2.7.3 treats http://www.yoursite and yoursite as two different sites in terms of sessions. End result - you will have to log in twice.

adding www to your mainfile.php should solve the problem
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.gkr-karate.com');

Or keep current settings but advertise your website link without www, so people will go directly to the URL without www and login.

3
butters
Re: Xoops Double login
  • 2004/11/17 9:52

  • butters

  • Just popping in

  • Posts: 7

  • Since: 2004/10/3


Thank you very much.

I have done that and it works fine.

4
The_Cheese
Re: Xoops Double login
  • 2004/11/26 18:29

  • The_Cheese

  • Just popping in

  • Posts: 62

  • Since: 2004/10/10


i had the same problem and that fixed it.... THANKS!
now for another problem along the same lines.

i have about 4 different domains pointing to the same site. if you login with the one that is listed in the mainfile.php then it does fine but if you login with one of the other domains it brings you back to the main domain and you have to login again.

can i put more than one domain in the mainfile.php?

Quote:
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.domain1.info''http://www.domain2.info''http://www.domain3.info');


if so then would it be like that?


thx

5
The_Cheese
Re: Xoops Double login
  • 2004/11/26 18:38

  • The_Cheese

  • Just popping in

  • Posts: 62

  • Since: 2004/10/10


welp i just tried that and it doesn't work.

any ideas?

6
irmtfan
Re: Xoops Double login
  • 2004/11/26 18:52

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:
can i put more than one domain in the mainfile.php

i almost sure u cant

Login

Who's Online

325 user(s) are online (282 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits