Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: Multiple Snews's  (Read 2901 times)

3Pinter

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 61
    • Fromthemill.nl
Multiple Snews's
« on: April 17, 2007, 10:52:03 PM »

Hi,

Not sure if it's a bug: I have multiple sNews's installed on a website of mine. If I log in, and do some work in one sNews, afterwards I go to the other sNews, the sessions are remembered (I don't log out) and therefore creates some information when I create a new article.

Somebody a clue or a confirmation (and more important: is it possible and is it an error myside and finally how to solve it)


3Pinter

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Multiple Snews's
« Reply #1 on: April 18, 2007, 01:27:49 AM »

provided you are using 1.5.31, make sure that the 'secret_word' (found in db function of snews.php) is set to something different for each installation.

I think that will prevent your issue from occuring.

==> the secret word is used in token() function, and login status checks for the token. So, my reasoning says that if each install had a different token, it won't show you logged in unless you login... so to speak :D
Logged
Of all the things I have lost, it is my mind that I miss the most.