Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Cookies length

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » Site Related Issues » Comments/Suggestions View previous topicPrinter friendly versionView next topic
Author Message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Jun 17, 2003 9:28 am    Post subject: Cookies length Reply with quote

Hi Dari,

Maybe be just my machine - but I have to log back in everytime I visit your site (1-2 days)!

I'm guessing it's 'cause of the changes in the session cookie? to allow for the 'updated gallerys' block - but it could just be me!

If it's right and like that on all machines - seems to be a bit of a pain for frequent return visitors.

Tony
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
AdBot
   Post subject: Cookies length  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Jun 17, 2003 11:08 am    Post subject: Reply with quote

yep, that was the only way to force visitor to log back in and get a current list of the updated albums (the cookie time is set to 1 hour). it's an unfortunate side effect of the fact that the last user time/session time values in the nuke database are only updated if the user views the forums. so i had to figure out another way of storing the last time the user visited, along with a way of making sure that they were logged out after a certain period of inactivity.
any suggestions on a workaround?
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Jun 17, 2003 1:15 pm    Post subject: Reply with quote

Hi,

Not knowing too much about cookies!! Shocked Is it not possible to get either get gallery or nuke to generate a new unique cookie, maybe from /modules/gallery/albums.php or /index.php that sends a cookie to the users machine - then when the user returns - it's checked to see what info that cookie contains? Can a cookie contain a string/array that details exactly what albums exist on the site? Then checks this info against the currently albums?

WOW that all sounds a load of crap Very Happy

Told you I didn't know anything about cookies!

Does the nuke cookie contain details of your last visit? Maybe keep a record of when changes are made to the gallery and use this to compare!! Dunno - sry not much help maybe

Maybe it's just a case of separating the nuke user cookie and a gallery cookie?

Tony
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Jun 17, 2003 4:18 pm    Post subject: Reply with quote

Quote: › Can a cookie contain a string/array that details exactly what albums exist on the site? Then checks this info against the currently albums?

yes, but that's a large amount of info to transfer to the user's machine, and might take a little longer than is desired.

Quote: › Does the nuke cookie contain details of your last visit? Maybe keep a record of when changes are made to the gallery and use this to compare!! Dunno - sry not much help maybe


the PHPNuke cookie does not natively have the session time of the user stored in it. the only time that such a value would be updated is when a user logs in, thus, if the default session time of the Nuke cookie is retained (i think the value is about 30 days), the user wouldn't have to log back in, and the last visit time would never be updated.
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Jun 17, 2003 4:56 pm    Post subject: Reply with quote

Laughing Well I did say I didn't know much about cookies!

I have seen Nuke blocks that record the last time you were seen / whos online - in the site (hours, etc). I guess that records (to db) that info - can that be used in anyway?

Tony
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » Site Related Issues » Comments/Suggestions View previous topicPrinter friendly versionView next topic

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filterWorld Meds Direct

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia