Others - Cookies

miggy - Jun 26, 2005 - 07:22 PM
Post subject: Cookies
Hey chest,
do you know how to resolve a bug

BUG:
if some1 enters a site and the user dont allow cookies then it dont goes to DB... Coz i saw if some1 enters to my PN site without allowing cookies then the DB became very FULL!!! Sad i think u know this problem Wink

Hope for u help Wink

Already thx....
Chestnut - Jun 26, 2005 - 11:27 PM
Post subject: Re: Cookies
The only thing I see about the DB problem would be that since the user is not allowing cookies, PostNuke is generating a session id each time he loads a page. Normally, the sessionid is saved in the DB and the cookie and the 2 are compared to see if it is the same user or not.

Cookies MUST be enable as told on the registration page :

Quote:

NOTICE: The preferences you set for your user account are stored in cookies.


There is no work around to the paranoid attitude of the no-cookie dudes.

And the no-cookie guy can't log in anyway if he doesn't allow your site to save cookies on his computer. A shame.
Wink
miggy - Jun 27, 2005 - 12:29 AM
Post subject: Re: Cookies
yeh but now i have a problem when those guys enters site then the counter gives me on any click 1 Online user. With this i mean if on site are 4 ppls and 1 of them are non-cookies user then the counter showes me not 4 ppls but 100+ :S weird a bit :S do you know how to solve this problem? maby group by IP? dunno what think about...
Chestnut - Jun 27, 2005 - 08:06 AM
Post subject: Re: Cookies
The other possibility is that those guys are not "guys"... but robots.

Googlebot, msn, etc... On pnConcept, when you see more than 15 people online, it is generally 5 people online and the rest are robots. If you have a popular site or a site with lots of links that the robots love, then...

If you are on 0.760 (0.750 ?), you can set the "no session for anonymous" in your settings... It might help as a session will not be stored for anonymous geeks.

That is the only thing I see that could help. Otherwise, you should move this discussion to forums.postnuke.com to see if others have the same problem and if the other devs that are more on the session side have any idea about this. It's an area I'm not very familiar with. If the discussion goes far enough, a better solution will rise one way or another.

Wink
All times are GMT + 1 Hour
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits