load

Reducing number of include files to reduce server load/speed up site?

You can reduce the number of HTTP requests to speed up your site, such as css sprite images. I'm wondering does reducing the number of php includes/requires also speed up your site or reduce server load? For example, I have a index.php with <?php include './file.php'; ?> If instead I copy and paste the code from file.php and just put it ...

load/unload C dll with C# problems

I'm having problems with external native DLL. I'm working on ASP.NET 1.1 web application and have this DLL which I load through DLLImport directives. This is how I map DLL functions: [DllImport("somedllname", CallingConvention=CallingConvention.StdCall)] public static extern int function1(string lpFileName,string lpOwnerPw,s...

load testing of "cookieless Session" asp.net

I have been trying using MS VSTS 2008, no luck so far.. After the redirection from server to accomodate the sessionID in URL, the test fails during the first time recording. I am open to looking at other tools which are not very expensive. Does anyone have any experience using any tool for testing cookieless sessionID website? ...

how to create simulator for web application for load test and stress test

how can i record the web server log files and replay the the recorded server logs so that i can latter run the logs and check the load on sql server. ex. number of request on and the number of resposes on sql server ...

Dynamically load Jquery into .js page

Please excuse me if I'm simple here, I want to create a simple widget that people can access from their websites - e.g by copy/past something like <script language="javascript" src="test2.js"></script> <div id="test"></div> anywhere in their web pages. where is dynamically filled via Jquery and the functions in/on test2.js. I can do...

jQuery.load doesn't execute javascript with document.write

I am trying to use jQuery.Load to load an ad call that has a document.write, and for some reason its not able to, or in firefox atleast, reloads the page with the entire ad. Here is the simplified version of the code. DynamicLoad.html <html> <head> <script src="http://www.prweekus.com/js/scripts.js?3729212881" type="text/javascript"><...

IE 7 can't bind event (using .live()) to dynamically created element using .load()

Hi All - I'm having trouble getting IE7 to keep a click event bound to an element that is added to the DOM using .load(). Here's some code: $('.mybtn').live('click', function(e){ e.preventDefault(); $('#mypage').load('load-this-page.htm'); }); And here's the html <div id="mypage"> <a href="#" class="mybtn">clickme</a> /...

jquery change load get url

Ok so I have a php page with data dynamically outputs depending on a $_GET variable ['file']. I have another page (index.php) which has a jQuery script that uses the load() function to load the php page. I have a list of links and when you click on one, it needs to change the $_GET variable to load, then refresh the load() jQuery variabl...

jquery load links not clickable

ok i am loading a separate page with links in it, into a page named index.php. it loads fine, but when i click one of the links inside the loaded content, nothing happens. they dont act as links. but if i do a alert('hi'); after the load('page.html'); then it will work. any ideas on getting this to work without alerting something after i...

jquery change variable on click and update

I have a PHP page that uses a $_GET['file'] to determine what is outputted on the page. On a page called index.php I use a jQuery ajax function to load the PHP page inside index.php like so: $.ajax({ url: "data.php", data: {file: 'folder/'}, success: function(data) { $('#remote-files').html(data); } }); Think of this as a ...

.NET load assembly error metabase config

Hi, Yesterday I found out that the mailroot directory had moved to a different location on the C drive. I don't know how this happened as no configs were changed, using IIS7 with IIS6 SMTP service on Windows 2008 R2 web edition. I wanted to restore it to the default c:\inetpub\mailroot location. So I opened system32/inetsrv/MetaBase.xml...

How to load an external swf to the main stage from an instanced child class?

Hi, I am trying to get an instance of a class to the load an external swf and show it. So far I have the following: 1) I wrote a class that uses the Loader class to load an external swf "loadExtSWF". 2) I have a fla named "MainSWF.fla" that uses a document class "MainSWF.as". 3) I have the MainSWF.as file that instances "loadExtSWF" an...

Remote controller load testing

Hi everyone, I am trying to run a load test from remote controller and I get this error. Failed to queue test run 'username@computername 2010-04-15 06:06:03': Object of type 'Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile' cannot be converted to type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProf...

Variable reference problem when loading an object from a file in Java

I have a problem with the reference of a variable when loading a saved serialized object from a data file. All the variables referencing to the same object doesn't seem to update on the change. I've made a code snipped below that illustrates the problem. Tournament test1 = new Tournament(); Tournament test2 = test1; try { ...

How to load a page using a variable in jQuery

I'm using the jquery function .load: $('div#content').load($lin '.entry-content'); How can I call a variable inside the brackets? ...

Scroll to anchor after jquery.load

There's placeholder on the page that is loaded asynchronously using jQuery load method. Page URL might have anchor and I want to scroll to the anchor after content is loaded. What is the best way to do that? Problem is similar to this: http://forum.jquery.com/topic/goto-anchor-after-load But I don't like the solution. May be someone has...

Taking too much time to load the application in vb.net

Hello, i am using vb.net in which i have put the background image to every form.the image size is 1024X768.when i open the form it is taking too much time to open. and screen is fluctuate.so can you tell me how to remove this type of issue, reply me soon thanks samir ...

jQuery sequence and function call problem

Hi everyone, I'm very new to jquery and programming in general but I'm still trying to achieve something here. I use Fullcalendar to allow the users of my web application to insert an event in the database. The click on a day, view changes to agendaDay, then on a time of the day, and a dialog popup opens with a form. I am trying to comb...

NSUserDefaults: Saved Number Always 0, iPhone

Hello all, I have looked at other answers and the docs. Maybe I am missing something, or maybe I have another issue. I am trying to save a number on exiting the app, and then when the app is loaded I want to check if this value exists and take action accordingly. This is what I have tried: To save on exiting: - (void)applicationWillTe...

Load any file type into matlab

I have a matlab GUI....I'd like to load ANY file type(doc,txt,dat,xls) into matlab as a matrix through the GUI...I'd appreciate any help I can get!! ...