grashoper has asked for the wisdom of the Perl Monks concerning the following question:

I have an odd problem with my website, in that once I click to open a demo for some reason it refreshes the page. I would like to stop it from refreshing the page as it displays content from DB that I want to suppress. I am not sure what is causing this refresh suspect it is something in my transforms that is causing it. Any suggestions on where to look for this oh so annoying bug would be welcome.

Replies are listed 'Best First'.
Re: Strange Refresh issue
by marto (Cardinal) on Dec 28, 2007 at 23:06 UTC
    Hi grashoper,

    I am not sure if I follow exactly what you are having problems with. Without seeing the code in question it is difficult for anyone to really help you. Does your site use AJAX to update pages? Perhaps you would have some luck debugging using Firefox and the Firebug plugin. So post your code, minus any sensitive information (database connection details such as username/password etc), if you have an example URL which is available to the public that demonstrates this issue, that can only help too. Check out PerlMonks FAQ and How do I post a question effectively? if you have not already done so.

    Hope this helps

    Martin
Re: Strange Refresh issue
by Anonymous Monk on Dec 28, 2007 at 20:56 UTC

    the bug is at line 100 of your cgi script. that's all i can say without seeing your code.