I've got a piece of tracking code which is capturing REMOTE_HOST, SERVER, REQUEST_METHOD, SCRIPT_NAME and QUERY_STRING. It grabs these from ServerVariables and sticks them in a database by user and IP.
What is the best way to pick up the exact contents of what was posted back to a URL in ASP.NET? Is there an HTTP_POST? I'd rather not gr...
How could i add to a blog or site in general a feature that let users export the content to epub format or some other open ebook formats?
It's not a feature that i normally see on most of the site i browse every day (some has export to pdf that is not great as ebook format), do you think it is feasible?
I own an ebook reader and readin...
I'm doing a web application in asp.net mvc. Now I'm at the point where I do alot of text info such as help texts, eula, privacy policy etc. I realized that I'm not sure what would the best way to store these texts.
1. Directly in the aspx page
2. In text files and then load the text via ViewData[] to the aspx file
3. In my sql database
...
How can I set Tomcat to automatically redirect to "www"?
I want that if a user enters my domain like:
mydomain.com
he will be redirected to: www.mydomain.com
...
Is there a way to make a web robot like websiteoutlook.com does? I need something that searches the internet for URLs only...I don't need links, descriptions, etc.
What is the best way to do this without getting too technical? I guess it could even be a cronjob that runs a PHP script grabbing URLs from Google, or is there a better way...
We are programming a new web application framework (Second WAF). I was wondering if we should support cookieless sessions or not.
Who use it and who needs it?
...
I have a non-signed java applet interacting with the same host. Every time I click on an element in my page, the applet (which is a third part applet I have no control on) should load data from a URL. I say should, because for some files, I get
java.security.AccessControlException : access denied (java.util.PropertyPermission http.agen...
I am curious if there is a way from within a WebView when a button is clicked it display a new view on top of the current display.
I have a web site and when the user clicks the signature field I want to be able to capture the signature on the device. From the best I can tell the easiest way is to write this section in the Android SDK....
HI have the following scenario:
1) i'm authenticated against some aSP.NET web site and my session time out expires in 24 hours.
2) after several time I would like to run query against asp.net Web Service located on the site using existing authentication.
What should I add to cookie Container? I how do sent existing cookie to Web ser...
What makes https more secure than http?
...
How to use in jQuery data from window.open
w = window.open("http://google.com",
'test_window',
'left=20,top=20,width=500,height=500,toolbar=1,resizable=1');
browser = w.document;
// execute commands in browser
$(browser).ready(function(){
alert($('input', browser).attr('name'));
});
// close bro...
Are there are any rules for when to use Client-Side validation and when to use Server-Side?
...
I am putting my php /mysql website up and this is my scenario
The users are grouped into sites each site with their own unique database.
There will be about 40 users per site.
the two options I'm trying to decide between are
have a central website running the php and directing the users off to their own database
using sub domains fo...
How to design asynchronous web services? That means each web service wait for the reply from another one asynchronously?
Can anyone give me any clue?
...
I have a code that uses JMX API to connect to a remote system and query stats on a JMX Application, and return the results. This works fine from a main method. But, when I try to deploy the methods as web services using Axis2, I get NoClassFoundException for one of the classes in the jar (imported as external Jar in Eclipse).
There are...
Hi,
I'm attempting to build a ASP.NET website using MSBuild - specifically the AspNetCompiler tag. I know that, for my project, I need to add some references. Within Visual Studio I have several references, one is a project reference and the others are some DLLS (AjaxControlToolkit etc). I'm happy not referencing the project and referen...
Hi
Can anyone tell me what I've done wrong with this simple code?
When I run it it hangs on
using (Stream postStream = request.EndGetRequestStream(asynchronousResult))
If I comment out the requestState.Wait.WaitOne(); line the code executes correctly but obviously doesn't wait for the response. I'm guessing the the call to EndGetReque...
when I invoke "<java classname='org.apache.axis2.wsdl.wsdl2java'> <arg value ...> ...", It works well !!!
But when I try to invoke "<java classname='org.apache.axis2.wsdl.java2wsdl'> ...", I always get an error "Can not find org.apache.axis2.wsdl.java2wsdl"
Can anybody tell me why? Thanks.
...
To apply a CSS to an existing html page I need to add a link that links to the css file, I am asked to include a link in the webpage that I am building that would link to the same html page but with a different css file, I am thinking I need to create a different css file, then create another .html page by copy the exact content from th...
Hi All,
Is there any book that can guide me building secure webservices.
Adding xsds to WSDL
Adding WS security policies to WSDL
Any book that can describe how to put together a secure web service.
the language shouldn't matter, but it should explain the concepts and help the reader to put together all the pieces required for build...