Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
ktunstall
New Member
New Member



Joined: Nov 03, 2004
Posts: 13

PostPosted: Fri Nov 26, 2004 12:11 pm Reply with quote

I viewed the other thread concerning cookies but could not find the answer. I am running phpNuke 7.5 with the latest versions of Sentinel and CNB Your Account. After I installed CNB YA, my users are logged off EVERY time the close their browser for a length of time, even though I have set the "time of cookies" to one month. This happens to me as well. Although my admin cookie is fine, as a user I am always looged off after about 30 minutes of closing my browser. Any insighte would be appreciated.
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Fri Nov 26, 2004 12:38 pm Reply with quote

Are you using a path of your own in cookie config? If so try it with the default and see if it continues. There is an error in the code that occures when a custom cookie path is set.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
ktunstall







PostPosted: Fri Nov 26, 2004 12:42 pm Reply with quote

I amusing the default. Additionally, since it is a gaming clan site, our members are quite annoyed having to type in symbols each and every time they visit. In the short period of time since I posted, my cookie has already expired.
 
sixonetonoffun







PostPosted: Fri Nov 26, 2004 1:10 pm Reply with quote

There are 2 settings that control the expiry time
Time of Cookies 1month
and
Allowed period of pageview inactivity -Indefinite

What is the Allowed period of pageview inactivity set to?
 
ktunstall







PostPosted: Fri Nov 26, 2004 5:08 pm Reply with quote

Allowed period of pageview inactivity is set to 1 hour. I set it to indefinite to see if it cleared the problem. Assuming it will, I will post the result.
 
ktunstall







PostPosted: Fri Nov 26, 2004 5:32 pm Reply with quote

Well.....within a matter of minutes....I was logged off. So....Setting the cookie time period to one month and the pageview inactivity to indefinite did not work. Sad
 
menelaos61
Worker
Worker



Joined: Nov 10, 2004
Posts: 110

PostPosted: Fri Nov 26, 2004 6:44 pm Reply with quote

Hi ktunstall,
I have some questions for you:
Did you heavily modify mainfile.php?
What is your servername/domainname?
(mine is nexus.flexihostings.net/mydomain/phpnuke)
Did you install phpnuke in the root of your webserver?
Did you enable autosuspend?

Further: if you set cookiedebug to 1 in:
/modules/Your_Account/includes/cookiecheck.php
are all cookies set correctly?

Lots of questions, but they will help us sort out your problem Smile

Cheers,
Richard
 
View user's profile Send private message Send e-mail
ktunstall







PostPosted: Fri Nov 26, 2004 10:06 pm Reply with quote

menelaos61 wrote:
Hi ktunstall,
I have some questions for you:
Did you heavily modify mainfile.php?

No
menelaos61 wrote:
What is your servername/domainname?
(mine is nexus.flexihostings.net/mydomain/phpnuke)


[url]bfrevolution.com[/url]

menelaos61 wrote:
Did you install phpnuke in the root of your webserver?


Yes

menelaos61 wrote:
Did you enable autosuspend?


Yes...which does not seem to work

menelaos61 wrote:

Further: if you set cookiedebug to 1 in:
/modules/Your_Account/includes/cookiecheck.php
are all cookies set correctly?


I will try this.....


Interesting note. I received a notification that someone registered....I was able to go right in....very strange.

I will do the cookie test and report back.
 
sixonetonoffun







PostPosted: Fri Nov 26, 2004 10:16 pm Reply with quote

The email is being sent with the link to bfrevolution.homeip.net so I wonder if there isn't some confusion with the cookie too?
 
sixonetonoffun







PostPosted: Fri Nov 26, 2004 10:36 pm Reply with quote

Anyway I've been logged on for a while left several times and came back and am still logged in. If you change your phpnuke settings for the url to bfrevolution.com instead of bfrevolution.homeip.net then I think everything else will begin to work as its sposed to.

Note* I checked the cookie set and the expiry is: Sunday, December 26, 2004 10:22:50 PM
 
ktunstall







PostPosted: Fri Nov 26, 2004 11:47 pm Reply with quote

sixonetonoffun wrote:
The email is being sent with the link to bfrevolution.homeip.net so I wonder if there isn't some confusion with the cookie too?


Very nice.....it was a temporary address (and test bed during original developement) while the site was being moved....hmmmm

I checked to form settings and they are correct.

OUCH!!! Under Preferences / Web Site Configuration / General Site Info......still set to the temp address.....God I feel like a noob..Confused

Thanks for the help everyone.
 
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sat Nov 27, 2004 9:28 am Reply with quote

Image

_________________
http://jamesdibben.com 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©