recordset being displayed isn't refreshed
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > recordset being displayed isn't refreshed




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    recordset being displayed isn't refreshed  
brendan.wong@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-27-07 12:31 AM

hi.  i've created a simple web app that allows users to enter in
information about a project in a web form and save that information to
a database (Access).  After a user enters in all the information, she
can click on a link to go to an index.asp page that displays all the
projects that have been added.

the problem i'm having occurs after the user enters in all their
project information.  when the user goes to the index page, the index
page is suppposed to retrieve all records and display them, but it
doesn't.  even after hitting the Refresh button in the browser, it
won't display the latest project that the user just entered.  however,
if i add a second project and then go back to the index page, it will
work fine and display both the first and second projects.  so, it's
like the first project won't be displayed until i enter in another
project after it (like the first project is stuck).  does anyone know
what the problem may be?

thanks






[ Post a follow-up to this message ]



    Re: recordset being displayed isn't refreshed  
Bob Barrows [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-27-07 12:31 AM

brendan.wong@gmail.com wrote:
> hi.  i've created a simple web app that allows users to enter in
> information about a project in a web form and save that information to
> a database (Access).  After a user enters in all the information, she
> can click on a link to go to an index.asp page that displays all the
> projects that have been added.
>
> the problem i'm having occurs after the user enters in all their
> project information.  when the user goes to the index page, the index
> page is suppposed to retrieve all records and display them, but it
> doesn't.  even after hitting the Refresh button in the browser, it
> won't display the latest project that the user just entered.  however,
> if i add a second project and then go back to the index page, it will
> work fine and display both the first and second projects.  so, it's
> like the first project won't be displayed until i enter in another
> project after it (like the first project is stuck).  does anyone know
> what the problem may be?
>
It sounds like you're butting heads with the Jet optimization feature
called "delayed-write caching". See here how to deal with it:
http://support.microsoft.com/?kbid=240317
http://support.microsoft.com/kb/200300

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.







[ Post a follow-up to this message ]



    Re: recordset being displayed isn't refreshed  
Jon Paal [MSMD]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-27-07 12:31 AM

are you opening and closing all your connections ?


<brendan.wong@gmail.com> wrote in message news:1174939653.446438.180020@y66g2000hsf.googlegr
oups.com...
> hi.  i've created a simple web app that allows users to enter in
> information about a project in a web form and save that information to
> a database (Access).  After a user enters in all the information, she
> can click on a link to go to an index.asp page that displays all the
> projects that have been added.
>
> the problem i'm having occurs after the user enters in all their
> project information.  when the user goes to the index page, the index
> page is suppposed to retrieve all records and display them, but it
> doesn't.  even after hitting the Refresh button in the browser, it
> won't display the latest project that the user just entered.  however,
> if i add a second project and then go back to the index page, it will
> work fine and display both the first and second projects.  so, it's
> like the first project won't be displayed until i enter in another
> project after it (like the first project is stuck).  does anyone know
> what the problem may be?
>
> thanks
>







[ Post a follow-up to this message ]



    Re: recordset being displayed isn't refreshed  
brendan.wong@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-29-07 12:16 AM

yes, i'm opening and closing all my connections.

thank you all for your feedback!






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register