View Single Post
  #4  
Old 12-09-2012, 07:03 AM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,156
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default

the script works with cookie's and sesions in the db (unless it is changed in 1.3.2 )

if you randomly log out then it means a few things

1) your cookie does not match the sesion stored in the db
2) your cookie does not exist anymore

in google chrome , try to clean your cach and cookie's and try again to login
also try to use a second browser ( internet explorer for example ) as it is sometimes a problem with google chrome itself (happends to me to with some sites)

you can also try to shut down google chrome and re open it (full browser close) and see if that works

also to see if cookie's are stored or not you can check it on this site

http://pets.demonpower.com/session_show.php

it should look something like this
Code:
$_COOKIE['PHPSESSID'] => d332a782d61c36ce258b011cb0d26cae ()
$_COOKIE['mysuid'] => 1 ()
$_COOKIE['myssession'] => c8459e64acf7bf060ba516032a1ece91 ()
also to get this to work for you , you need to use the same script but then on your site
some cookie's only works on the site itself and not on other sites (like in this case )

so here is the script

download it and upload it to the main folder of the myadopts install
then go to that site and you should see the same as above ( if logged in) or a lot less (if logged out)

if it does not show anything even after a login then your browser is not accepting the cookie's

Greetings From PowerChaos
Attached Files
File Type: php session_show.php (1.3 KB, 0 views)
Reply With Quote