Quantcast








     

Two questions: should I do client-side or server-side in terms of validation? Also, how would I verify that no textbox is blank/invalid...

stackoverflow.com - 2012-04-17 20:53:12 - Similar - Report/Block

...with jquery/javascript? I want to check and make sure that a value has been entered and that it's a number. First - Is it a best practice to do validation on the client-side, server-side, or both? Is this something that should be validated twice or is checking on the client-side enough? Second - If client-side validation is the best wa...

Try to open the socket connection which is alreay opened hangs the android system.How to solve it?

stackoverflow.com - 2012-07-05 09:58:06 - Similar - Report/Block

Im very new to android. im developing a application in android 2.2.that sends the some bytes to server via socket connection. In server side they used simple java coding for server socket implementation. The sending data in socket connection is success. But my problem is when send the data in socket connection then i close the connection...

JqGrid search in client side

stackoverflow.com - 2012-05-19 00:48:06 - Similar - Report/Block

There is a way to do search in client side after the server to response json data? The jqGrid search example with only html/jscript and array of type local perform the search of the datas on client side, but when a have the same jqgrid deployed within the server, with json return the jqgrid hint/request for the server. I would like to kno...

Making trial version of client-server application in Java

stackoverflow.com - 2013-04-23 06:52:32 - Similar - Report/Block

I need to know how to make a trial version(e.g 30 days trial) of a client-server application which is implemented using Spring RMI(server side) and Java Swing(client side). I'm thinking of doing this in client side by checking current date against first login date. But it might be hackable easily. What are the best options available to do...

Handling WinRT StreamSocket disconnects (both server and client side)

stackoverflow.com - 2012-04-10 23:05:45 - Similar - Report/Block

I have an application I'm writing for Windows 8/WinRT that uses the StreamSocket API to do a streaming connection to a server. That is to say, the server streams data to the client, sometimes with meta tags, and can disconnect at any time. The problem I'm having is that I have no idea how to detect when the server has disconnected. There...

WCF server side async invocation

stackoverflow.com - 2012-06-02 11:10:45 - Similar - Report/Block

I'm trying to implement the async operation on the server side using Begin and End operations on the server side. And for the opreation [OperationContract(AsyncPattern=true)] is configured. I have not generated the proxy on the client application but using the channel factory to create the service. Though it looks like service instance is...

Client Server using PHP

stackoverflow.com - 2013-04-22 05:24:47 - Similar - Report/Block

Hello I"m trying to write a client server setup using php... My ultimate goal is to write a server that is constantly listening to connecting clients(which I have) but I also want the server to be able to send something to a client at any time. Say for example I want a server to be running and 2 clients connect to it then one client sends...

Catch all javascript errors and send them to server

stackoverflow.com - 2011-03-16 16:09:15 - Similar - Report/Block

i wandered if anyone had experience in handling javascript errors globally and send them from the client browser to a server. I think my point is quite clear, i want to know every exceptions, errors, compilation errors, ... that happens on the client side and send them to the server to report them. I'm mainly using mootools and head.js (f...

Java - Can Client also acts as a Server at the same time or Vice Versa?

stackoverflow.com - 2012-05-09 19:05:53 - Similar - Report/Block

Well I am working on a project where I am required to write a TCP/IP Client-Server program. Well on it's own it's quite simple but I have been asked to do something which I have never done before. I want to know, can I write a Java Client Application which send out commands to a server and gets response from the server. Also, the Server i...

asp.net membership password security

stackoverflow.com - 2012-02-29 13:18:27 - Similar - Report/Block

I noticed when looking at the templates for mvc internet applications the password is sent from the client to the server in plaintext, although I believe it is probably encrypted/hashed+salted when stored in the database. Is the best thing to increase security here to enable SSL/HTTPS only or would it also be best to hash the password on...

which access need to configure while file transamission from client machine to server side

stackoverflow.com - 2013-03-24 10:58:50 - Similar - Report/Block

i am using dotnet web application, me facing an issue while browsing the files from the client machine were uploaded, customer saying that they cannot provide any shared folder or permission for folders, i am confused now how can i perform this action. i know the example, but how can i perform the logic, when if we see the gmail while bro...

Rest - Jersey.Client pass @SecurityContext to Server

stackoverflow.com - 2012-04-02 13:34:44 - Similar - Report/Block

I want to pass a security context to my rest service. On server side I try to get this with: public Response postObject(@Context SecurityContext security, JAXBElement<Object> object) { System.out.println("Security Context: " + security.getUserPrincipal()); ..... But actually the Syso is null. On Client side im just doing:...

evolveStar Join

In Meteor how to render the templates on server side?

stackoverflow.com - 2013-02-26 05:04:54 - Similar - Report/Block

I followed this tutorial and I built this with it: http://x111.meteor.com/ But as you can see the loading is very slow, because meteor loads the data from client side. I get this error when I want to use the global Template inside Meteor.isServer ReferenceError: Template is not defined at app/products.js:56:3 ... How do I serve the temp...

How can I send and receive WebSocket messages on the server side?

stackoverflow.com - 2011-11-14 18:25:01 - Similar - Report/Block

How can I send and receive messages on the server side using WebSocket, as per the protocol? Why do I get seemingly random bytes at the server when I send data from the browser to the server? It the data encoded somehow? How does the framing work in both the server → client and client → server directions?...

TCP Client Side Issue

stackoverflow.com - 2012-09-10 14:52:21 - Similar - Report/Block

I am facing a big issue in TCP client application return in c#. Normal case it's working fine but in some case server send simultaneous response to a particular client, so this case all the simultaneous response are received as a single message in client side.So this case client failed to identify individual message. So such a case my cli...

What happens when the server is in an infinite loop and the client stops?

stackoverflow.com - 2012-02-27 15:14:29 - Similar - Report/Block

I am trying to figure out how the "talking" between the server and the client is done. So, when the server is generating an infinite loop, "hello<br />" , for example, what happens when the client stops, or hits 'back'? How does the server know it's the end of the loop or does it take an endless process by it's side ? Is there anywh...

How to c# send notification to ajax when database changes? Wich one is the best way?

stackoverflow.com - 2013-04-26 19:35:50 - Similar - Report/Block

i read a little about WebSockets, Comet, WebApi, WCF, etc and want to know the best way to create a server application wich can be read from angular js app, ios app, android app, etc. Thanks I want to do something like facebook. The user open the page and let it stopped. After a few seconds (when database updates) the client side upateds...

How to enable hprof on the server side?

stackoverflow.com - 2013-03-25 18:47:35 - Similar - Report/Block

We have out Rest Service that is being deployed on one of our server here. The Container for that is Geronimo 3 . I have remote access to that machine where it is being deployed currently. And it's a Linux machine. Now I need to enable profiling on our Rest Service as I am making a lot of calls to our Rest Service. Problem Statement:- I...

Can I use PHP on a client-side mobile application

stackoverflow.com - 2013-04-09 11:11:39 - Similar - Report/Block

I installed HTML5 Builder on my PC and I've made my first "hello world" Client Mobile application. The client page is uHelloWorld.js This is Javascript but I was wondering if I can use PHP on a client-side page or is the PHP only for server?...

Delphi TidTCPServer and TidTCPClient transferring a record

stackoverflow.com - 2012-06-04 00:30:52 - Similar - Report/Block

I need help in understanding how to transfer a record through Indy TCP Server/Client. I have 2 programs, in I put client and in another server. On client on a button I put connect : Client is TIdTCPClient Client.Connect(); And at server side I am adding a line to memo that client is connected , on ServerConnect event Protocol.Lines.Add(Ti...

Discussion - Client Server Application architecture

stackoverflow.com - 2012-06-23 16:52:11 - Similar - Report/Block

I want to develop a client-server based desktop application using .Net 4, C# and SQL Server. Please refer to the image for what i am thinking about. There will be a server application accessing windows service or web service. The client application will have Multiple Document Interface. Below are my points that what i am thinking about -...

Visual Studio delay between multiple startup projects?

stackoverflow.com - 2012-04-27 12:53:18 - Similar - Report/Block

how to add some delay between startup projects in solution? I want Client project to be started after 2-3 seconds from starting WindowsService. Why I need this? WindowsService runs socket server and Client runs socket to connect to server. WindowsService loads slowly than Client, and this causes an exception on client side when connecting...

Determining whether MVC3 server validation is successfully

stackoverflow.com - 2012-04-26 14:34:36 - Similar - Report/Block

When returning from an AJAX query, is there a way to determine whether the server side validation added any errors? I have tried if ($('#MyForm').valid() == true) in an OnSuccess function, but it seems to always be true, regardless of whether the server side validation failed or not. The refreshed HTML if generates does put in the error...

Network Demo in WTK 2.5.2 client-server connection is not working on remote hosts

stackoverflow.com - 2011-06-20 09:31:53 - Similar - Report/Block

When I run client and server locally I am able to receive messages but when I run the server emulator on 10.107.14.4 and client emulator on different machine, the client emulator is not able to connect and send messages to the server. I have made only one change in the client code in network demo that is instead of localhost i put the ip...

Library exception in GWT client-side

stackoverflow.com - 2012-03-16 20:39:17 - Similar - Report/Block

As I know, GWT needs that code that will be used on client side to be on the XXX.client package. I also know that is possible to configure this path, allowing other client-side code to be outside this package. However, I can connect this to solve my problem: I'm writing a library that automate some code I'll be using many times over more...

What is the benefit of Cookie over server side storage?

stackoverflow.com - 2013-03-04 09:03:13 - Similar - Report/Block

By server side storage I mean database or some kind of persistent cache system instead of session. Usually we store some user specific data in the client side using cookie, which will be sent to server during later requests. However, it's possible that we store these data in server side storage. First, it will save a lot of bandwidth whil...

Mixing server & client controls, event handling

stackoverflow.com - 2010-02-23 21:03:07 - Similar - Report/Block

This is a recurring question on many forums, and I have a working solution, but it is ugly. I need to disable buttons after a click to prevent double-submission of a form. I do this by changing the css class, which will disable and dim the image. Because the JavaScript consists of both litteral and generated parts, and I am mixing client-...

smart gwt- how to use POJO as data source for combo-box/tab/labels

stackoverflow.com - 2012-03-01 17:11:02 - Similar - Report/Block

I have a Smart GWT Project where the data that is to be displayed on screen, is stored in a class that is shared by client and server. I read some docs at the Smart GWT website where they have explained how to connect to XML or JSON data sources. What I want to do is link my POJO with the Smart GWT widget. And the data is available client...

multiple connections in UDP server

gamedev.net - 2012-08-19 19:20:13 - Similar - Report/Block

I've been searching a lot and found out that the server based on UDP should have only 1 socket that is doing all the job for every single client. And each client should have his own socket bound to unique port but can exist on the same ip? I'm trying to run a server and connect to it more than 1 client. 1 client connects normally but I ca...

ValidationSummary for server side errors is not working

stackoverflow.com - 2012-03-21 12:03:48 - Similar - Report/Block

Client side Validation and ValidationSummary is working fine for my project (MVC4 + Razor + Unobtrusive JS) but the Server side errors are not shown on my view and if there was any client side error, it does not get removed from the view (it does from the ModelState). I have tried on both Chrome14 and IE9 Server side errors are being adde...

How to check if a socket connection is live in Boost::asio?

stackoverflow.com - 2012-03-29 08:48:35 - Similar - Report/Block

I'm using the Boost::asio to implement a client/server applicaion. The client code below is used to connect to the remote server . try { boost::asio::io_service m_io_service; boost::asio::ip::tcp::socket m_socket(m_io_service); boost::asio::ip::tcp::endpoint endpoint(boost::asio::ip::address::fro.. .

Client interaction with a database

stackoverflow.com - 2013-06-10 17:53:30 - Similar - Report/Block

I'm designing an application which will query a remote database for information, and also write to it. I've been considering different approaches and I would like to make sure I have things correct. (1) Java and JDBC Can a client side Java application using JDBC directly communicate with a database on a remote server? By directly I mean...

ClassCastException with GWT/RequestFactory on WebLogic

stackoverflow.com - 2012-02-10 16:24:35 - Similar - Report/Block

I'm setting up a GWT application based on GWT/RequestFactory on client side, and JPA/EclipseLink over WebLogic on server side. However, during development, everytime I change something on the server-side code (it can be an entity, the DAO, or even a comment in a Java file!), I get a ClassCastException between 2 apparently similar classes...

Need to call server side event using __doPostBack

stackoverflow.com - 2012-05-07 15:48:43 - Similar - Report/Block

I have server side event like this. protected void RadTreeView1_ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e) { // implementation here. } I am trying to call it from client side javascript. I have tried __doPostBack("contextMenuItemID", "some string") it posts the page back to server, but this does not invoke t...

WCF namedpipe binding - time out error

stackoverflow.com - 2012-03-29 14:16:01 - Similar - Report/Block

I am creating WCF application in which, client is built in x64 bit platform server is built in x86 bit platform communcation between two is using Namedpipe binding. Server: it is console application which talk to MS Access database, and send the result of executed command Client: it is winform application which talk to server and sends a...

soap header between c#.net client and php server

stackoverflow.com - 2012-06-05 10:30:59 - Similar - Report/Block

i have a web service written in php, i added it as web reference to my asp.net web site (asp,c#) i knew how to call web service's method from c#.net client, but the problem i still have: i want to send a soap header with web service call (from c#.net client to php server) i did this but in php client, by using $client-> setHeaders, and pa...

server side events (for dummies:) )

stackoverflow.com - 2012-04-04 07:28:56 - Similar - Report/Block

i read the specification and few examples/tutorials about Server Side Events, but i do now fully understand the entire process. If when using ajax the request-> response cycle is simple to understand, here it seems to be a little bit complicated. As described here : http://dsheiko.com/weblog/html5-and-serv er-sent-events ,i do not underst...

Email Validation in javasript

stackoverflow.com - 2012-03-22 15:12:54 - Similar - Report/Block

i know this question will be closed because i studied many example of this but plz see i think i am doing something different. i coded my server side PHP email validation with this : if (!filter_var($user_new_email, FILTER_VALIDATE_EMAIL)) { $errors .="Email,"; $pass = false; } my client side email validati...

How to execute a server command using php?

stackoverflow.com - 2012-03-19 13:24:52 - Similar - Report/Block

I have some programs installed at the server side of my LAN . I want the client to be able to execute the server function for instance "svn --help" using command line .. My server url for eg xx.xxx.x.xxx I know that passthru() is the function i have to use . How can I make my client to communicate with the server using command line to exe...

Installing server (on Windows) and client tools (on Windows, Linux and Apple) for version control

stackoverflow.com - 2012-05-11 20:30:45 - Similar - Report/Block

I installed and configured a Visual SVN server on Windows Server 2008. I was also able to install Tortoise SVN on Windows as my client tool. I'd like to get a client tool similar to Tortoise SVN for Linux and Apple operating systems. http://www.visualsvn.com/server/licensin g/ Few questions related to these installs... (1) What is the reco...




dialogShowMessage!

Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.


Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !


evolveStar.com provides a search engine that allows you to gather information to write their own blog.


evolveStar.com enhances the sources displaying the logo of the site.


If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com


Specifies the subject copyright violation and the url of the page


evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.


Next will be effectual and relevant checks.







Who We Are Partner Advertising Contacts Privacy terms Help & FAQ

© Copyright 2010-2017 Fabrizio Fichera. All rights reserved.