11
gdamania
Re: Staying logged in
  • 2006/1/2 17:57

  • gdamania

  • Just popping in

  • Posts: 11

  • Since: 2006/1/2 1


The autologin hack never really worked for me for some strange reason... sometimes it would keep a user logged in for about 10 minutes, other time it just didn't work after you closed the browser. My site is running XOOPS 2.2.3.

I hope they will add it as a permanent feature in future XOOPS versions.

12
allnewtome
Re: Staying logged in
  • 2006/1/11 23:23

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


Just came across a problem... never happened before I used autologin, but perhaps it is not caused by autologin...

xoops/error.php?c=1 page comes up when login:
Quote:

Why am I being redirected here?

XXXX site security has detected that your computer has a firewall setting that is preventing you from registering on the site. We use 'Referrer-checking' know as HTTP_REFERER which makes sure that all contents posted are from authorised users only. Your firewall settings are blocking this information, so this will prevent you from registering properly if you try and proceed.


Apparently this is something to do with cookies... I think it's becuase the autologin thing redirects to website.com instead of www.website.com, which confuses the cookies! The bloke who owns the server will change it so that it always redirects to the www version.

Maybe I'm wrong - I would welcome your comments.

13
allnewtome
Re: Staying logged in
  • 2006/1/14 14:46

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


To answer my own question ...

1. I was telling people the website address with WWW (e.g. www.xoops.org)

2. In mainfile.php the XOOPS_ROOT constant had no WWW (e.g. xoops.org)

The discrepancy between 1 and 2 above caused the problem.

I've changed mainfile.php, and will get the bloke that owns the server to change it so that it always goes to the WWW version of the site name.

Hope this is useful for someone else...

Login

Who's Online

208 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

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

Latest GitHub Commits