2 Nuke Sites On Same Server -- Session Problem

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   2 Nuke Sites On Same Server -- Session Problem
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Hey all,

I'm running two websites (both nuke) on my web server. They have seperate db's and separate usernames and passwords for each db.

Here's the weirdness...my session table from site A is showing users from site A AND site B.

I noticed this in the CZUserInfo block - saw usernames from the other site showing up and vice versa.

Any ideas?




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Its becuase crappy nuke uses the same cookie name " user " for everything. You mught want to edit one of the sites and change that to user_secondsite or something along those lines. There should only be a few spots you have to change it in. Mainfile , and Your_Account index.php




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
K, thanks for the kick start. I'll check it out.




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#4   re: 2 Nuke Sites On Same Server -- Session Problem
Triksta
CZ Super Newbie
Triksta has been a member for over 20 year's 20 Year Member
usa.gif indiana.gif
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Oct 26, 2004
0.01 posts per day
Posts: 56
Points: 2,022
AIM Address Yahoo Messenger MSN Messenger 
what string do we edit? is it the $user string?

i see it alot with: cookiedecode($user)

can I change all of the $user to $user_nuke to solve my 2 site/2 DB prob.?




_________________
Back to top Reply with quote
#5   re: 2 Nuke Sites On Same Server -- Session Problem
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
I still haven't solved the issue, I've been busy with other stuff. Let me know if you come across a working solution.




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum