Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5
Author Message
ashishjha54
Hangin' Around



Joined: Jan 24, 2005
Posts: 41

PostPosted: Sat May 07, 2005 7:44 pm Reply with quote

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
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat May 07, 2005 10:52 pm Reply with quote

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?
 
View user's profile Send private message
ashishjha54







PostPosted: Mon May 09, 2005 6:59 pm Reply with quote

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







PostPosted: Mon May 09, 2005 7:08 pm Reply with quote

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







PostPosted: Mon May 09, 2005 7:31 pm Reply with quote

all user experience the same problem.
i noticed it months after i installed CNBYA
 
Raven







PostPosted: Mon May 09, 2005 7:41 pm Reply with quote

Have you tried what I suggested?
 
ashishjha54







PostPosted: Mon May 09, 2005 8:14 pm Reply with quote

i tried it but the problem persists.looks like this is CNBYA problem.
 
Holbrookau
Hangin' Around



Joined: Jun 25, 2004
Posts: 32

PostPosted: Tue May 10, 2005 1:47 am Reply with quote

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.
 
View user's profile Send private message
ashishjha54







PostPosted: Tue May 10, 2005 10:57 am Reply with quote

i changed it but the problem persists.
 
Raven







PostPosted: Tue May 10, 2005 11:05 am Reply with quote

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







PostPosted: Tue May 10, 2005 11:35 am Reply with quote

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

PostPosted: Mon Aug 22, 2005 7:37 am Reply with quote

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().
 
View user's profile Send private message Visit poster's website Yahoo Messenger
hireamerica







PostPosted: Mon Aug 22, 2005 8:12 am Reply with quote

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.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©