Welcome to Geeklog, Anonymous Wednesday, January 15 2025 @ 09:40 pm EST
Geeklog Forums
Redirection
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?
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?
15
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/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
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
12
12
Quote
All times are EST. The time is now 09:40 pm.
- 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