Go Back  Xtreme Visual Basic Talk > Other Languages > Web Programming > If the user go back :-(


Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2002, 01:59 PM
learn
Guest
 
Posts: n/a
Default If the user go back :-(


Hi Experts,

Depending on a database, page1 lets the user do something including update records in that database (For different content in the database, page1 will allow the user do different job). It will go to page2 after the job. Fine.

However, after update the database, if the user go back to page1 by clicking the Back menu, page1 wont reflect the change in the database and will still let the user do the original job, the wrong job in this time!

Can you help me to solve this problem?

Please let me know if my question is not clear.

Thank you in advance.
Reply With Quote
  #2  
Old 09-30-2002, 02:49 PM
Cogen's Avatar
Cogen Cogen is offline
Contributor
 
Join Date: Apr 2002
Location: Ontario, Canada
Posts: 673
Default

What kind of cursor are you using when you open your recordset? If your using a Static cursor, then the user will not be able to see any changes made in the database. They will only be able to see the information that was available when the recordset was originally created. This doens't exactly fit your description, since you mentioned that you CAN update the database, which I don't think you can do with a static cursor. Are you sure your database is reflecting the changes made?

Just a though. That's all I can think of.
__________________
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->