Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check for logged in user
#2
You'd have to use isset to check if a cookie exist, rather than checking boolean value of cookie_check() function.
Anyway, you won't check it without knowing name of the cookie, and it's not that simple, as the name contains the salt value.
Something like: getsimple_cookie_203rwzy^|epaw*ekf7zuj2m3o4ga3o~fw5tbatt

Maybe just looking if a cookie starting with "getsimple_cookie_" chars exist and is not null would be enough ?
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
Check for logged in user - by RobA - 2010-11-16, 14:30:34
Check for logged in user - by yojoe - 2010-11-16, 17:39:40
Check for logged in user - by RobA - 2010-11-17, 06:31:10



Users browsing this thread: 1 Guest(s)