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.6
Author Message
tactixs
Hangin' Around



Joined: Apr 27, 2005
Posts: 32

PostPosted: Sat May 21, 2005 9:45 am Reply with quote

Hi all,

I have installed several nukesites each in a separate folder.
I have used the same database for all these sites but different table prefixes for each installation and kept the same User prefix for all the sites.
This way my users will have to register once and they be able to use the same login name and password for each other site.

This leaves me with a small problem tho, even tho the users can login with same username and password on all site, they are forced to login on each separate site because the cookie set from one site doesnt allow the same session on the other sites.

So what i would like to know is, is it possible to change the way the cookie works to share the same user session on all sites in order to avoid the need of login in on each site everytime.

Thanks forward, sincerely, Tac.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat May 21, 2005 11:39 am Reply with quote

I believe this can be done but I have never done it. Try searching Google to find out how to do it. More than likely it is tied to the cookie naming convention.
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sun May 22, 2005 12:59 am Reply with quote

I think Raven made the point and would agree with the problem probably lying with the cookie naming convention. Most cookies are url specific thus www.mydomin.com will use a different cookie to www.mydomain.com/nuke1 etc

One thing you may not have thought of in your quest to resolve this problem is that, you may find additional problems crop up with utilising one cookie for several nuke installation e.g. 'new post' may not work for the forums etc

You may find this interesting reading http://www.searchwin.net/cookies1.htm
 
View user's profile Send private message Send e-mail
tactixs







PostPosted: Mon May 30, 2005 10:11 am Reply with quote

Thks for the replies and information, much appreciated.
 
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.6

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 ©