Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 22nd, 2006, 11:13 AM
Authorized User
 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Forum Section - Please Check

I think there may be an error here in the cacheing code for the forum section, but I'd appreciate if anyone else can confirm this:

When you edit a reply to any post in a forum thread, then return to the thread, the page does not show the changes. If you switch off the caching for the forum section by adding 'enableCaching ="false"' to the forums section in 'theBeerHouse' section of the web.config, the page shows the updated information whenever a reply is edited.

I am using IE 7.0, so I'd appreciate it if anyone else can confirm this error, before I attempt a fix.

Many thanks,

JJ

 
Old December 7th, 2006, 10:17 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default

i´ve seen this happening on my site www.clubvwnica.com

you have to hit refresh to see the changes

does enableCaching ="false"' solves this?


 
Old December 7th, 2006, 10:27 AM
Authorized User
 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hitting refresh doesn't cure the problem for me. I am using IE 7.

Switching off the caching is the only solution in the code as it stands, which isn't ideal.

I have contacted the book author about this, but he says that he did this on purpose as he felt that clearing the cache for every post edited/inserted would make the cache useless.

I personally think it is confusing and will lead to problems if a user cannot see the changes they have made to their post until they log out and log back in again.

I will get around to fixing this, but haven't the time right now. If anyone else does in the meantime, please post here.

JJ

 
Old December 7th, 2006, 10:31 AM
Authorized User
 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

PS: Just though you should know that I could not access your site.

 
Old December 10th, 2006, 05:07 PM
Authorized User
 
Join Date: Oct 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not having this problem in the forum section on my website. I set the enableCaching to "True" on both the
configuration.vb file(Forum section) and web.config file. I logged in as a user, went to the forum link (ShowForums.aspx)opens with some forum topics. Click on a topic, Show Threads.aspx opens a grid of threads. Click on a thread opeans an original post, with the EDIT icon on top. I edited the post--added some text and hit update. I see all the new added text and the date, when I went back to the thread page. Not sure if this is what you are trying to acehive. I am using IE 6 and latest firefox and the VB code.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect to VSS check-in Check-out Programatically rhd110 General .NET 6 August 12th, 2007 07:46 AM
How can I creat a forum like P2P Forum? pcassiano ASP.NET 1.0 and 1.1 Basics 1 October 31st, 2005 05:00 AM
FAQ section for Dreamweaver Forum Ben Horne Dreamweaver (all versions) 7 April 8th, 2004 05:16 PM
Questions for FAQ section of Flash forum Ben Horne Flash (all versions) 1 April 7th, 2004 10:34 PM
converting Forum.aspx to Forum.ascx (help) drfunkie BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 11th, 2003 12:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.