Author Topic: header.html calls twice when click on a thumbnail.  (Read 3587 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
header.html calls twice when click on a thumbnail.
« on: November 05, 2002, 05:52:26 PM »
I installed statistic on my server and add logging script to header.html file. everything works fine, but then I noticed the pageimpressions counts twice when I click on thumbnail to open detail page.
when I do refresh it counts ones, only when open new picture detail it counts twice (actualy its not just detail page, but any clicks counts as two clicks)
so, I'm wondering how come header.html file calls twice on each click?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
header.html calls twice when click on a thumbnail.
« Reply #1 on: November 05, 2002, 07:28:28 PM »
Waht happens if you add te code to every main template? home.html, categories.html etc.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
header.html calls twice when click on a thumbnail.
« Reply #2 on: March 19, 2003, 07:36:27 AM »
I just noticed another thing.
if I change image_id= in address bar, and hit enter, it count ONES.
so, I think, for some reason, when I click on next image, it send to the server two times request? is that possible?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)