server

Android server; login page

Hi all I need help with server and I'm new with it. Got a help from my friend but still can't work. I can't login. There is no error so called 'detected' when running the application. I can't login. Somehow the connection wasn't properly established. This is my java file open in eclipse; package log1.log2; import java.io.ObjectOut...

Port requirement for web server.

I currently have a small socket server that I'm trying to convert to a web server. Basically it dumps XML to anyone connecting to it. At the moment, it's not a web server as it listens to a non-web port (1337). I know that both 80 and 8080 are accepted web ports, but none of those are free on the machine I'm going to use. Are there a...

Scaling a simple Perl CGI to a high volume server

I wrote a Perl program which searches and manipulates one text file. This CGI process slurps the file directly into memory, manipulates the file based on the User's input, then generates the HTML result. It works functional wise. However, I know that once I deploy on high volume server, it will not be able to respond in due time. I sus...

WCF Tcp Binding "The requested address is not valid in its context" Error

I have a WCF server using a netTcpBinding and a client. When I run them locally they work fine. If I put the server on a Windows Server 2008 machine and try to run it, it fails unless I change the address to localhost, but no clients can connect to it. I can run the client from the server to connect to a Windows Xp machine running th...

How to get android system log from a Java program

Does anyone know how to get the android device system log programatically using Java? This would be something similar to what is available on lower panel on the Dalvik Debug Monitor. Thanks in advance. ...

Prevent 'the world' from accessing members PDFs in an Umbraco CMS

Hi All I am new to Umbraco and have inherited an existing site 3-4 years old. One of our users has just come to me and asked why her members only PDFs are freely available if Googled by name, but their containing folder in Umbraco is not - ie she has to log in to get to the folder. Within the Umbraco Admin system I can see how to set p...

How to write an image file on server?

Hello, I have a silverlight 3 app using webservices, which uploads an image to server. Then, on server, I resize this image (using EmguCV) and I want to save this image on the server filesystem. The resulting image is created with the size (500px max in one dimension) and saved to 'C:\ ...". This is all working well when debugging in as...

server side compile and running languages

In my website my users will submit source code of languages by using a html form . I want to compile and run this code belonging to different programming languages like c,c++,java etc... on the server and return the output or errors to the webpage. many clients upto 3000 submit such codes every week and i need to run them and sh...

WebDAV Server for Cocoa iPhone and iPad running iOS

I'm looking for a WebDAV server - best Open Source - for iPhone and iPad for integration in my app. It should be possible to list, download and upload files. I would like to point the server root on the 'Documents' folder of my app, so the methods should be mapped directly to the file system if possible. On my search through the interne...

Challenges of email server development

Email server development is quite challenging. One of the biggest challenge is when developing web application that sends out several emails on behalf of users. Emails will all be sent out from one SMTP feed with sender address that of individual users. How do we ensure that if the users missuse the system (say send out spam messages) t...

Can named pipe names have backslashes?

According to MSDN, [The pipe name] must have the following form: \\.\pipe\pipename The pipename part of the name can include any character other than a backslash, including numbers and special characters. The entire pipe name string can be up to 256 characters long. Pipe names are not case sensitive. But the...

ASP.NET - Global asax resetting once in a while

Hi guys, I've got an website running on a third-party hosting server. Now I've got a few objects in global asax. But once in like 6 hours or so (didn't really check how long) the object gets reset to default values. Is this an problem in global asax that it reset's himself or is this the server on which I'm hosting? ...

error in getting the output of a stored procedure

I am trying to get the output of a stored procedure into a function but with my code i am always getting a error telling that the output parameter is not specified.Can u help? the code is here..... public int UserAuthentication(String username, String password) { SqlConnection conn = new SqlConnection("Data Source=CLEMATIS-11\\CLEM...

Php 5.3 upgrade at Debian lenny

How can I upgrade php to 5.3 version at Debian lenny from squeeze packages? Will Zend Optimezer and ionCube work with php 5.3? ...

File upload to remote server with progress bar

Hi all. I need to incorporate file uploads into my website, and after a few hours of thinking I came up with a pretty good way I think. The page with the upload form will be served by a front end web server. To make sure it uploads the file to my remote storage server I'll do this in the markup: <form action="http://storage.mysite.com/...

Ways to prevent cheating caused by dynamic ip addresses tampering with PHP-driven web contests

Hey all, Let's say you have a website contest programmed in PHP, and the user must click their favorite picture. Now from what I hear, there are ways to dynamically change your ip address, such as with the iphone, so it looks like you are someone else and therefore you can continuously click the same picture over and over in a matter o...

Allowing partial survey completion - when to save to DB

I'm building a simple survey, consisting of several pages with questions that all have multi-choice answers: radio buttons and checkboxes The end result required are records in a MySQL table, one for each answer selected. And we want to make it so that you can quit halfway through and come back later to complete. My first thought was ...

I am running a windows server 2008 with terminal services which i am using a xenserver is there a way I can watch the schedule task run

I am running a windows server 2008 with terminal services which i am using a xenserver is there a way I can watch the schedule task run in terminal services / xen server. I know a majority of any thing you set to run in schedule task is run in the back ground. However i have seen some schedule task interact with the desktop and you are a...

Web service WSDL and discovery is not working correctly.

Background: We have a remote web server that has our web site and web service on it. We have access to this service and the site, but not the server directly as it is managed by another company. The Problem: Our web services are operational and work fine, but we cannot connect to the web service because the WSDL specifies the soap addre...

Blocking IP addresses, preventing DoS attacks

So this is more of a general question on the best practice of preventing DoS attacks, I'm just trying to get a grasp on how most people handle malicious requests from the same IP address which is the problem we are currently having. I figure it's better to block the IP of a truly malicious IP as high up as possible as to prevent using ...