310 Topics
![]() | |
hi everyone. hi have a template with a form and many inputs that pass some data trough a POST request to a view, that process them and send the result to another template. in the final template, if i use the browser back button to jump to the first view, … | |
(If you are familiar with Memcached, better) can take a look at the img. on the third column (named 'Value'), I need to put a 'button/link' that when clicked it will display/hide the content of the cell. In a sort of javascript 'toggle' function. (i'm not sure which to use: … | |
Hi, Im building an web application where im using number of views & stored procedure.. i just want to apply performance tuning techniques for my application. while reviewing the code, i realized that lots of my views are being called in the Code behind file of the UI..i don understand … | |
[CODE]package amena; import java.awt.Color; /** * FileSystemModel is a TreeTableModel representing a hierarchical file * system. Nodes in the FileSystemModel are FileNodes which, when they * are directory nodes, cache their children to avoid repeatedly querying * the real file system. */ public class FileSystemModel extends AbstractTreeTableModel implements TreeTableModel { … | |
Hello everyone, First of all I would like to introduce myself, I'm tom and I spend hours developing websites. Right, down to the serious stuff... I have made a nice little AJAX based commenting system, it shows the 5 latest posts, so, when a user posts a comment the list … | |
I have made picture viewer in VB which also shows all the pics present in a folder as thumbnails using image list and listbox. The problem is whenever the user clicks refresh it takes long time for the image to load. I want to some how make a cache like … | |
Fatal error: Call to a member function query() on a non-object in C:\wamp\www\socials\chapter11\registry\mysqldb.class.php on line 240 here is the code: [CODE] <?php /** * Database management / access class: basic abstraction * * @author Michael Peacock * @version 1.0 */ class Mysqldb { /** * Allows multiple database connections * … | |
Hi, I'm struggling to understand how to write script for Zeus web servers. I need to leverage browser cache images to get my Google page speed up. i know this is the code for .htaccess but Zeus is different: <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 2 days" ExpiresByType … | |
Hi, I have made a small application that creates an RSS feed from my Cafe Press store using the Cafe Press API. As I am still in the developement stage I have currently created 2 feeds for testing purposes but I am struggling to understand what is going wrong with … | |
In caching and indexing ,which occurs first.Please explain it. | |
Hi, Im developing an application where im using microsoft enterprise library 5.0. I want to use cache application block in my application for which im using pervasive database Version 11.0 as the database for database cache storage. I have followed the procedures toc use the EntLib 5.0 in an application … | |
i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, … | |
Hi Dani, For some reason, I'm always getting the cached or old version of a given page. E.g. clicking on the CP link shows me a thread which was recently bumped in the C++ forum. After I added code tags to the post and moved it to a separate thread, … | |
Hi, I have a Dell Inspiron n14 Laptop, I am getting an error while writing a DVD +R DL. The DVD drive is DVD+-RW DS-8A5SH. The software used is NERO 10. Although the software Nero Infotool identifies the DVD drive to support DVD + DL for write and read both, … | |
Hi, I have a problem related to BACK button in browsers. In [U]very first page[/U] my basket shows "0 item". I go to [U]next page[/U] to add one item to basket and it shows "1 item" in [U]current page[/U]. If I hit BACK button in browser to go back to … | |
I need to access my browser cache specifically, the cache in Camino browser and Opera browser. I need the commands to get the cache, or any other method to obtain the cache. Thanking you in advance, I remain Mike Levinson | |
I currently have a caching problem on my flash site. I have set the htaccess file to: [CODE]Header set Cache-Control "no-cache"[/CODE] But when I refresh the page, the images on the flash site still shows the old one from the cache. I also tried setting max age to 1, and … | |
hello can somone please tell me why i cannot submit this twice i have a php form doing the validation and mailing but if there are errors in the form filling out it will send back an errorand tell them to fix it, without refreshing the form. the problem is … | |
Hi, I did an example to see the time it takes to run a query and cache it but it doesn’t work and I cannot find why. Please give me a hand. No cache file gets created as well. In config/database.php: I’ve set $db[‘default’][‘cache_on’] = FALSE; because I don’t want … | |
Hi, I am using xml:: DOM and Lib xml parsers. The performance of these parsers in how ever slow some times. The data i have is very huge textual data. Is caching mechanism for these parsers are available? what is the best way to speed up these parsers? Any suggestions? … | |
Hello, I have a very strange error. I recently installed a test environment on my laptop with IIS7/PHP5/MySQL on Vista Home Premium. When I tried to install phpMyAdmin I found that it somehow failed silently, in particular, config file could not get written even though no error was shown. To … | |
Hi, I am using mysql 5.0.77. I am running queries like create table T1 as Select t1.arg0 as ARG0, t1.arg1 as ARG1, t2.arg0 as ARG3 from table t1, table t2 where t1.arg0=t2.arg0 I want to create the table if the select statement does not return an empty resultset. If I … | |
Hi, I have a program that goes out and fetches an XML daily and then parses it. Sometimes it does not get the latest version. When I put the URL into my browser, it too does not show the latest version. Then when I do a Shift-Refresh, it updates and … | |
Hello everyone, I am looking to exclude some specific content from a cache system based on APC. This content is a complete directory. So if you have any idea, please let me know. | |
Hi, I've created a script to understand the logic of caching. Do you think my example below makes sense? I am asking because I've never used caching before. 1. Check if HTML version of current testfile.php exist in cache folder as testfile.html a. If YES then compare content of testpage.php … | |
Hi guys, I need a help for caching web pages. My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on … | |
hi, i am currently going to be setting up a linux dedicated box and have a few questions if somenone could give me some input into it. not too in depth so lamens terms would be best. 1. can someone recommend a good hosting company for a dedicated box? 2. … | |
hey all, The server where I host my website went into unscheduled maintenance, a few minutes later I noticed that the IP of the server changed (they probably moved my website to another server since it's paid hosting although shared). So, my website was back online but some things weren't … | |
Hey im creating a cache simulation in C++ i have the read/write policies and most of the eviction policies but im struggling to get my head round adaptive replacement cache. i kind of understand how the two lists work but not very well. If anyone could help explain it to … | |
I m having a webService. In that I m using Caching. I have wrote following code to store datatable in cache. [CODE] using System.Web.Caching; Cache.Insert("dt", dt, null, DateTime.Now.AddHours(1), TimeSpan.Zero, System.Web.Caching.CacheItemPriority.Default, null); [/CODE] It give me error like "An object Reference is required for non static field. How can i remove … | |
Hello there, Is there any way of disabling caching of asp.net pages in folder or application level.... meant to say, is there any option available in the web.config file for disabling caching...i have done by using page wise...but need to disable caching for all pages in my application... plz help … | |
i'm use smarty 3 and write [CODE]$smarty = new Smarty(); $smarty->config_dir='./smarty/sconfigs/'; $smarty->template_dir='./templates/new/'; $smarty->compile_dir='./smarty/stemplates_c/'; $smarty->cache_dir='./smarty/scache/'; if(!$smarty->isCached('index.tpl','default')) { $smarty->assign("u",refresh_user_info(),true); } $smarty->display('index.tpl','default'); [/CODE] but {$u} is missing when i add if($smarty->isCached help please! | |
Hi, I'm trying to build an windows application in C#, where i will be using Cache Application Block. I have downloaded the Microsoft's Enterprise Library (5.0), & also tried a sample too.. The sample works fine but there is a catch. I'm not willing to use a configuration file in … | |
![]() | Hi everyone. I am starting to learn AJAX and JavaScript and I am trying to make a popup login form and I am having trouble posting the data entered in the textboxes. It is fine when I post one piece of data but when I try to post two I … |
Hello, I have php page that takes approx. 30 seconds to load! This page returns paginating data, 25 row per page. I am using correct query like "SELECT field1, field2... FROM table1 where..." My page has scripts tag like: <script>js_function</script> Now I have 25 rows per page, each row has … ![]() | |
SO I am trying to setup a RewriteRule on my server for caching static objects. the files are in this naming scheme /docroot/css/stylesheet.min.css and I have them printed in the code like /docroot/css/stylesheet.min.123438348.css (the number is example it comes from a get modified function). Note docroot is an example directory … | |
Hello, Please can you hint me about an easy and clear way to cache ajax response into client browser WITHOUT using the JQuery? I am unable to find that on google. I have a page that is loaded using AJAX and it takes long time to load every time (approximately … | |
I am attempting to read the access log for squid and store the last position read so it does not have to reread the file. I am running into many problems with my current code for it. I was wondering if you can help me write a more efficient code … | |
In my web application After logout , if i click back button, browser is showing the visited jsp pages.How to prevent(or remove history) browser from doing this ,after Logout. I tried following.But no use [code] <% response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-store"); response.setHeader("Expires","0"); response.setDateHeader("Expires",-1); %> [/code] please help on this. Regards, suresh | |
Hi everyone, I was formatting my computer and suddenly this message appeared on the screen. A problem has been detected and Windows has been shut down to prevent further damage to your computer. KERNEL_DATA_INPAGE_ERROR If this is the first time you’ve seen this stop error screen, restart your computer. If … | |
Hi guys, Im in the middle of writing my own custom cms, and ive found a frustrating bug I cannot get rid of! When the user logouts, they can use the back button the trace back through the pages theyve been on. However refreshing the page shows them as logged … ![]() | |
Hi, I have a C# pdf library called PdfSharp which I use to create PDFs. I have a page (print.aspx) which instantiats the class which creates the pdf in the Page_Load() event handler. for some reason when I am running this through IIS, the process for the app pool (w3wp.exe) … | |
Hello, I use Ruby with Sinatra in my application and I need to store a big data (exceeding 4K) in my session or somewhere secude on the server because I do some API calls and I refer to that data very often and that's why I need it stored. The … | |
Hi guys, Ok, call me lazy, or call me busy, but what's your opinion on this: Does it make sense using resized original images instead of thumbnails? Today's internet is pretty fast,and i've just done an image intensive website, so i'm thinking on applying this solution to an image intensive … | |
Hi, The website that I have been working on for sometime is about to be deployed now. However, after deployment the reports are not opening in one of the two machines that I have deployed. All other pages seem to be working fine except reports not opening with the error … | |
I'm creating a xml-file from code using Linq to XML. The code is prety simple: [code=C#] XNamespace appvisumnamespace = XNamespace.Get("http://appvisum.com"); XDocument doc = new XDocument(new XDeclaration("1.0", "utf-8", "yes"), new XComment(""), new XElement("AppConfig", new object[] { (from section in this select section.ToXml()) })); foreach (XElement e in doc.Root.DescendantsAndSelf()) { if (e.Name.Namespace … | |
this code makes a slideshow(a very long fast slide show, video), it plays audio and can adjust its frame size. i have 4 streams(4 diferent groups of jpegs from 4-50kB @720x480), and can switch between them. audio is nearly automatically in sync and both it and the "video loops". using … | |
As above! [CODE] var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = … | |
Hi all, my PC wouldn't start showing file is missing "system32\DRIVERS\pci.sys I tried to repair this using windows xp setup. Everything wroked well and after following all steps for about half hour I was very relived to see my computer start normally, dsiplaying every thing as usual. Unfortunately this only … | |
How do i know the reply was from caching-nameserver, master nameserver or slave nameserver in BIND DNS.? Can I trace the nameserver that replied my dns query? Like I have a master nameserver, a slave nameserver and a caching nameserver in my network. Is it possible to know that which … |
The End.