Welcome to Geeklog Sunday, April 18 2021 @ 08:00 am EDT

Geeklog Forums

Redirection


Status: offline

gordondavey

Forum User
Newbie
Registered: 13/10/03
Posts: 1
confused
I am running GL 1.3.8.

My main URL is set up to redirect to the site using cloaked redirection. When a user accesses the site via the redirection they are unable to log in, but if they access the full URL directly they can log in OK.

Any ideas what is causing this?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
That's a cookie problem. Cookies can only be set for the real domain name.

Not sure if this will work, but I'd guess you have the site_url variable set to the domain name that the user enters? You could try setting the cookiedomain variable to the real domain name, i.e.

$_CONF['site_url'] = 'http://www.example.com/';
$_CONF['cookiedomain'] = '.yourrealdomain.com';

bye, Dirk
 Quote

All times are EDT. The time is now 08:00 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content