Author Topic: Security Proplem in 4images 1.7.1  (Read 16836 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Security Proplem in 4images 1.7.1
« Reply #15 on: August 16, 2006, 11:12:53 PM »
Then, I guess, you'll need play with
Code: [Select]
define('COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
in includes/sessions.php
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline artistichideaway

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Security Proplem in 4images 1.7.1
« Reply #16 on: August 17, 2006, 08:26:16 AM »
Hello V@no,

ok....I'll try to ask my "provider" about that.....thank you.

I realized one thing, the cookie works if I don't close the browser. Once I close the browser and open it again, the cookie is lost.
I think it must be somewhere in the settings on the server, in the sessions settings I have posted yesterday...right?
« Last Edit: August 17, 2006, 07:09:31 PM by artistichideaway »

Offline artistichideaway

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Security Proplem in 4images 1.7.1
« Reply #17 on: August 18, 2006, 10:13:28 AM »
Hello V@no,

I have finally find the topic with the same problem that I have.
I'm not sure if ti was solved somehow, do you know?

Quote
Actually, the two cookies that are set when the user logins in with the "auto login" checkbox checked are NOT getting sent to the browser.  I had a look at your user_loginform.html template and couldn't spot anything wrong there.  The only cookies I got were:  4images_sid, 4images_lastvisit, and 4images_userid.  That last cookie was set to -1 which means "Guest" not logged in and was sent prior to my login attempt which is normal.

http://www.4homepages.de/forum/index.php?topic=4696.0
« Last Edit: August 18, 2006, 11:14:51 AM by artistichideaway »