Author |
Message |
ashishjha54
Hangin' Around

Joined: Jan 24, 2005
Posts: 41
|
Posted:
Sat May 07, 2005 7:44 pm |
|
hi,
i am using nuke 7.5 patched .the problem is that when users opens the site http://www.abc.com ,he is recognised and automatically logged in ,but when a topic reply notification from goes to them they are not recognised and they have login again.the topic reply notification url start with http://abc.com/.......
how can i make user automatically logged in from both the url's
thanks |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat May 07, 2005 10:52 pm |
|
Do all users experience this?
What patch level are you using?
Is your server using *nix or IIS?
Was it always like this or did something change? |
|
|
|
 |
ashishjha54

|
Posted:
Mon May 09, 2005 6:59 pm |
|
it is a unix server and i am using CNBYA.
i have to login at both domains.
http://www.abc.com/
and
http://abc.com/
is there any solution.
thanks for your great response.I donot want to offend nukecops but your responses are better than nukecops |
|
|
|
 |
Raven

|
Posted:
Mon May 09, 2005 7:08 pm |
|
Do all users experience this?
Was it always like this or did something change?
Try deleting all cookies pertaining to www.abc.com and abc.com. Also, flush your cache. Close all open browsers and then try again. |
|
|
|
 |
ashishjha54

|
Posted:
Mon May 09, 2005 7:31 pm |
|
all user experience the same problem.
i noticed it months after i installed CNBYA |
|
|
|
 |
Raven

|
Posted:
Mon May 09, 2005 7:41 pm |
|
Have you tried what I suggested? |
|
|
|
 |
ashishjha54

|
Posted:
Mon May 09, 2005 8:14 pm |
|
i tried it but the problem persists.looks like this is CNBYA problem. |
|
|
|
 |
Holbrookau
Hangin' Around

Joined: Jun 25, 2004
Posts: 32
|
Posted:
Tue May 10, 2005 1:47 am |
|
If your Site URL in Administration -> Preferences is http://www.abc.com/ then change it to http://abc.com/ then delete ALL your sites cookies including any in Temporary Internet Files. |
|
|
|
 |
ashishjha54

|
Posted:
Tue May 10, 2005 10:57 am |
|
i changed it but the problem persists. |
|
|
|
 |
Raven

|
Posted:
Tue May 10, 2005 11:05 am |
|
You might try to directly contact menelaos61 who is the main support for CNBYA and see if he has heard of the issue before. |
|
|
|
 |
ashishjha54

|
Posted:
Tue May 10, 2005 11:35 am |
|
ok i found out what the problem might be.
i checked the cookie set by your site.the domain in your cookie is ravenscripts.com.so both ravenscripts.com and www.ravenscripts.com recognises me and automatically logs me in.
but the cookie set by my site and nukecops site is
www.abc.com & www.nukecops.com respectively ,so both the site has same problem.
this problem is also with www.nukecops.com.You can check it out at nukecops..
so this is definetely a cookie problem .can you tell me where to edit the settings of "cookie setting" of nuke site.
thanks. |
|
|
|
 |
hireamerica
Client

Joined: Sep 30, 2004
Posts: 103
Location: New Jersey
|
Posted:
Mon Aug 22, 2005 7:37 am |
|
Has this been resolved? I'm still searching the forums for how I do a get cookie for user cookie done.
Somehow in mainfile.php when is_online() is fired, the global $cookie is blank for user so it assumes you are anonymous...logging in just adds your user but the anonymous entry sticks so it looks like 2 people are online: you user, and you anon.
So short solution in my mind is to get the user cookie in is_online(). |
|
|
|
 |
hireamerica

|
Posted:
Mon Aug 22, 2005 8:12 am |
|
well, this seemed to solve my prob...might not solve yours:
I simply added Code:cookiedecode($user);
|
right after the global declaration in function online(); of mainfile.php
Somehow $user had my info, but $cookie was empty. cookiedecode($user) reestablishes $cookie. |
|
|
|
 |
|