I'm looking for the best practice to pass secure data from client side to server side.
For example, I have a client side authentication and sometimes I need to call private apis on the server side from the client side, but I need to make sure that user is authenticated/authorized to perform those calls on the server side, and right now...
Hi all,
I have a large array of vehicle make and model data that I want to dynamically display on a web page. For example, when you select a vehicle make from a drop down menu the vehicle model dropdown is dynamically populated with an asynchronous call.
I would normally execute this with an AJAX call to a PHP script that would return ...
Ok I know this is pretty broad, but let me narrow it down a bit. I've done a little bit of client-server programming but nothing that would need to handle more than just a couple clients at a time. So I was wondering design-wise what the most mainstream approach to these servers is. And if people could reference either tutorials, books, ...
We need a way to remove HTML comments when displayed to the user but not to the developer.
I'm wondering what the best way to do this is.
...
I have the servlet name ExampleServlet.java which have only init method with HttpServletRequest and HttpServletResponse parameters. I will forward the request to another servlet named ForwardedServlet.java which will display some text on the web page. But when i am trying to execute the ExampleServlet http://localhost:8080/Sample/Example...
I'm guessing a site like stack overflow doesn't keep an html file around for every question ever asked. Instead, server-side code creates the page every time a question is clicked on(I think). Is it possible for search engines to index every quesiton on Stack Overflow, or would a page-per-question need to be kept in the directory so the ...
I've implemented a server side application that records timestamps when records are created and updated. The app assumes that the server clock does not have daylight saving time enabled, (a) because I've read this is best practise and (b) because I imagine it would be tricky (if not impossible) to handle the ambiguities that occur, e.g. ...
I know there are a lot of client-side solutions for nasty adware and their recursive links, but I was wondering if it is possible to use a script in the html to prevent the links from displaying in a user's browser who has adware on their machine and is visiting my web site?
I am NOT a programmer. I am designer, and I know just enough t...
If I want to insert the output of a script into an HTML file using server side includes, is it better to use
<!--#include virtual="/cgi-bin/myscript.py" -->
or
<!--#exec cmd="python /cgi-bin/myscript.py" -->
?
...
Hi,
I want to let a user upload a PNG-file with alpha transparency and have it compiled by the server to a swf-file with jpeg compression on the embedded PNG-file.
How can I make this happen?
I thought first I'd just construct a class and compile it with Flex Framework, but Flex does not compress the embedded PNG-files. You who have...
Hello all
Is there any tool something like access or front page that combines?
The server side also ( php ) for none programmers?
...
Hello,
I've read quite a few online AJAX tutorials, where they show you how to set it up, then send a request to a server side script via either GET or PUT...My question is how do I stop unwanted people/applications from accessing that same script?
For Example,
Say i had a server side script that added some type of object (say a music ...
I need to do source code formatting (similar to what Stack Overflow does), but on the server side. What options do I have? My serverside language could be PHP or JSP.
Does google have a server version of syntaxhighlighter?
...
Hello:
I am getting ready to build a web application (app) and was interested in using DHTML and TCL. I have been building apps in TCL for awhile and feel pretty comfortable with using this language. I have experience using Visual Studio (VS) to write web apps where the server-side code is in C#. VS makes this incredibly simple and p...
This is for a search facility on a website. I have it all working using the standard Google Maps geocoder, but for some strange reason it seems to search only on the first part of a postcode.
It can be done in client-side JS using GlocalSearch. However, it isn't clear how to translate this into a server-side solution.
Here is a simpl...
I am building a project in GWT that pulls an rss feed, executes regular expressions on the feed (in javascript using JSNI), and then stores that resulting data on a database where the users can access it.
As of right now, I have been writing all the code in the client-side .java file hoping that I could simply transfer it to the server-...
I think, CSS syntax and base principles can be very useful, and not only for style.
Is there any PARSE engines which can operate with CSS-like rules, like the ones for XML?
For example, we can create something like framework (yes, another one), in which we define pages in xml style (JUST EXAMPLE, maybe very stupid or two complicated):...
I've been using Jint to run server-side JavaScript code and I'm liking it a lot so far. The one issue I'm having is debugging.
JInt exposes events that can fire when a statement is executed or a breakpoint is hit. As mentioned on the Web site, it would be possible to create a visual debugger that works through this mechanism.
Before ...
hi,
i am writing a web site with a php on the server side. which i have never used before.
if i get it right it is procedural programming (which is another thing that i have never done)
my question is how to write code:
each procedure should be in a different file?
to separate it to various files?
maybe have one file that receive the...
I have a Java application that I need to integrate our existing PHP website with. The vendor wants us to do a server-side redirect to allow for secure authentication and single-sign-on, but I'm not sure how to do that in PHP. The vendor explained the workflow as follows:
User clicks on a 'Open Application' link on our PHP site
The PHP ...