DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 6 Aug 2007 16:08:00 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.caching        back       

Thread Index
  1    SushiSean


caching for page with dynamical parts   
Actually very basically question, but I am not sure if exist any solution.
So for example I have some page which shows info about product and info 
about customer.
info about product it get from GET param – something like that 
“viewitem.aspx?idproduct=123123”
but info about customer – from session. It means I have 1000 customers which 
read info about this product 
in a day and I need make caching of request which get info – I put in header 
of page 
<%@ OutputCache Duration=1000 SqlDependency="FCDB:site_guestbook" 
VaryByParam=" idproduct"  %>
and it is works, but if idproduct the same it take ALL page from cache and 
Page_Load event doesn’t work
and this page show customer name which was CACHED, but NOT CURRENT.

The question is How cache only sql query result but not all page? Is it 
passible?
Date:Mon, 6 Aug 2007 16:08:00 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us