Title: RE: XSP page refresh and re-connect to db each time?

Sorry for posting this a second time, but I could really use some help...

How can I make my xsp page be 'refreshed' with updated data from the database each time I click on a link to it, instead of just being shown from a cache?

I've looked at ProgramGenerator but it didn't make much sense to me ;(

Thanks in advance,
Beth

    -----Original Message-----
    From:   Naquin, Beth
    Sent:   Wednesday, June 05, 2002 11:02 AM
    To:     '[EMAIL PROTECTED]'
    Subject:        XSP page refresh and  re-connect to db each time?

    Hi,

    I apologize in advance if this is a dumb question ...

    I have xsp pages that call a logicsheet, which calls a stored procedure using esql.  Then those db query results are transformed via xsl stylesheet to show in the browser.  I have a 'sidebar menu' with links to the xsp pages.

    I want the xsp page to 'refresh' each time the user clicks on the sidebar link, and each time I want it to reconnect to the database and show updated database information.  I do not want the page to be just shown back in its previous state, as the data in the database is constantly changing.

    This works fine if I click the browser's 'Refresh' button (I see the updated results), but not if I click the link on my sidebar (just shows the page again w/ old data).

    Any suggestions on how I can make this happen?  In ASP, one could just write something like
    <%@LANGUAGE=VBSCRIPT%>
    <% buffer = -1 %> at the top of the page, but I haven't found anything similar in XSP/Cocoon.

    Thanks in advance,

    Beth Naquin

Reply via email to