server-side

caching in memory on server

I want to write web app with client Javascript and back-end server (Python). Client needs data from server frequently in AJAX way. Data in DB, and expensive to load for each request. However, in desktop app I would just load data from DB once to memory and then access it. In web app - the server code runs each time for request so I can'...

How do I register a server side click on an HTMLGenericControl?

I'm looking for a reliable mechanism to generate a server side postback handler for an HTMLGenericControl such as an li element. I have some markup that I do not wish to change and would prefer to treat this in the same fashion as a standard .Net server control. Also, I know I can use a template based control to place some .Net contr...

A CSS code Or Any code to put text (saved in other server) into blogspot blog..???

I have a blog in blogspot. Step (1). Whenever any visitor visit my blogspot blog through Google, the search search string is tracked through a javascript and the search string is saved in another server (say serverX) Step (2). Now, when another visitor (human/Google Bot/Any downloader/etc..) visits my blog, he/she should be able to se...

How to clear browser's cache from server side?

I have to create a web application that deals with user's sensitive information. I need to immediately clear the browser's cache after user logs out since cached data would be vulnerable. Client's browser should be enforced to clear the Cache from server side. Also all cache policies must be exposed to the client from the server side. I...

Redirection of xml file for iphone app

Hey guys, I have a xml file on my server like the one below : www.myWebSite.com/myXmlFile.xml which is used by my iphone application. In case the address of my xml file changes to www.myOtherWebsite.com/myXmlFile.xml How can I make my app to work anyway ? What kind of PHP server-side code do I need to write ? Is NSURLConnection...

Parameter format when tracking Google Analytics events with server side request automation

I'm currently in the process of programming an utility which generates GA tracking pixel (utm.gif) URL:s based on given parameters. For those of you who are wondering why I'm doing this on the server side, I need to do this server side since the context which I'm going to start tracking simply doesn't support JavaScript and as such ga.js...

What is the difference between client side testing versus server side testing when we are execute various tests such as white box or black box testing?

hi all, as per my question, i am wondering what differences are there when we are performing tests for the client side , as compared to performing tests on the client side? For example, testing javascript on the client side versus testing server side code? Best Regards. ...

Need PHP Email Script Solution

Designing forms has always been fun, but getting them to send email on the server side is another story. I have used various email scripts (dynaform,phpmailer, etc), and have experienced a ton of problems. So here is the site I am working on: Contact On the Right. It is very basic: no validation, no required fields. I simply need anythi...

Is there a javascript server-side interpreter, like php?

For example, writting server-side things using javascript, instend of php. ...

Pass client side js variable into server side jscript

How can I get the query string from the browser url using client side js and set it as a variable to use in some server side scripting? Client side script: var project = getQueryString("P"); function getQueryString(param) { var queryString = window.location.search.substring(1); splitQueryString = queryString.split("&"); f...

Pros and Cons of programming languages for XML & string manipulation

I don't mean this to be opinionated. What are serious pros/cons of various server-side languages in regards to creating/modifying xml. I'm currently researching new platform/language direction and we deal with a lot of xml. We also do a lot of string manipulation, what advantages/disadvantages do different languages have in regards to...

HttpBrowserCapabilities doesn't detect 64-bit Windows, what's the built-in alternative without parsing user agent string?

The two available detection options for Windows in System.WebHttpBrowserCapabilities are: Win16 Overloaded. Win32 Overloaded. If 64-bit isn't testable, the Win* properties seem rather useless. Besides parsing the user agent string, what's often used in place of these properties (maybe combinations of them)? ...

Most effective server side programming language for web development?

This is more a question of pros/cons between PHP and JAVA. Iv been doing research, and iv narrowed it down to those two. And in consideration, id like to go into mobile app dev...So thats +1 for Java. Time taken to learn the language is not an issue...Just would like to know which is the most effective between the two languages mentio...

Side effect with the Alfresco content repository API ?

I'm studying Alfresco and particularly it's content repository Java API. I am trying to train with an example from the SDK "First Foundation Client". I took the code, I manage to handle it a bit but when I restart my alfresco server I get ugly stacktrace like ERROR [web.context.ContextLoader] Context initialization failed org.alfresco...

How to grab dynamic content on website and save it?

Hello! For example I need to grab from http://gmail.com/ the number of free storage: Over <span id=quota>2757.272164</span> megabytes (and counting) of free storage. And then store those numbers in a MySql database. The number, as you can see, is dynamically changing. Is there a way i can setup a server side script that will be grabb...

JavaScript on the server-side like PHP

I'm now thinking to establish my server-side code in JavaScript, and begin to do all on it, but I want to know about its security and flexibility compared to PHP. I want to know too, if it can be successfully used to develop things like forum boards, full web-sites and things like this, as PHP does. ...

Scripting language to embed into a Java server application

I want to make a business logic of server side Java application as a set of scripts. So I need from a scripting engine: Maximum Java interoperability (i.e. Spring framework) Script reloading and recompiling Easy DB access from scripting language Clear and simple syntax (some DSL capabilities would be nice to have), easy learning cu...

securing a webservice for use from a custom iphone app only

I want to create an iphone application which consists of two parts: The app itself and a server side component. On a users request, the app sends data to the server which is to be handled by human operators. To prevent abuse from an iphone app user, the id of the iphone is sent along with the request, and the operators can blacklist pr...

Server side aggregation using Spring MVC Controllers

Hi! We have a web site with multiple pages each with lot of AJAX calls. All the Ajax calls go to a data proxy layer written in Spring 3 MVC application. In order to reduce the load on the server we are planning to aggregate calls on the client and send to the proxy layer. For ex: we have two calls /controller1/action1 and /controlle...

Execute a Application On The Server Using PHP(With safe_mode enabled)

I have an application on my server that is called leaf.exe, that haves two arguments needed to run, they are: inputfile and outputfile, that will be like this example: pnote.exe input.pnt output.txt The executable is at exec/, inputfile is at upload/ and outputfile is on compiled/. But I need that a PHP could run the application like ...