[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] SOLVED! Cache problem
Joachim Leidinger wrote:
> Hi List,
>
> I've
>
> [if type=explicit compare="q{[read-cookie MV_SESSION_ID]}"]
> [else]
>
> [tag op=header]Content-Type: text/html
> Cache-Control: no-cache
> Pragma: no-cache
> Expires: 0[/tag]
> [/else]
> [/if]
>
> in my basket.html (is a Minibasket), bigbasket.html and startpage.html
> and a frame set like
>
> -------------------------------------------
> | any other page |
> -------------------------------------------
> | basket.html | menubar.html | otherpage |
> -------------------------------------------
> | menu | startpage |
> -------------------------------------------
>
> The above codes works well. But if I click on basket.html to show the
> bigbasket and if I change the quantity in my bigbasket page, the basket
> in the left upper frame is not up to date. It seems to me, the script
>
>
> <script>parent[1].location.href='[area href="ord/basket"]';</script>
>
> (The url has id=xyz and pc=123)
>
> is not reloaded well in my browser (Opera 5.12) without cookies. I've
> had a problem with IE 6.0 without cookies. But IE works well with the
> Cache-Control in the above codes.
>
> Is there a bug in Opera 5.12? Or what is the cause, that Opera don't
> reload the basket page, which is displaying [nitems] and [subtotal]?
...
Solved with
Autoload <<EOR
[if type=explicit compare="q{[read-cookie MV_SESSION_ID]}"]
[else]
[tag op=header]Content-Type: text/html
Cache-Control: no-cache
Pragma: no-cache
Expires: 0[/tag]
[/else]
[/if]
EOR
in catalog.cfg!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de