Hi
I noticed that jquery ajax request sometimes take about 1-2 seconds before the responce comes is this normal and is there any way to short that time to minimal?
The responce type is jquery and it's small.
Thanks!
I've been investigating what I can do with Google's Secure Data Connector and App Engine.
Is it possible, from an App Engine application, to grab resources inside my corporate intranet without using HTTP(S)?
From what I read in the documentation, the only way to request resources through SDC is by using url_fetch, which is limited to HTTP, right?
If I'm right, each request for http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.js
use something like 3 kb of microsoft.com cookies. I don't understand something and it doesn't matter or microsoft do it wrong?
I have a format of pages that I want to perform an A/B comparison on using google website optimizer.
the URLs look as follows - the first page I want to compare...
<mywebsite.com>/request1/([a-zA-Z0-9\-]*)_([0-9]+).htm
vs
<mywebsite.com>/request2/([a-zA-Z0-9\-]*)_([0-9]+).htm
the goal page is
<mywebsite.com>/request-sent.htm
How can I set this up in google website optimizer? If it's not possible, are there alternative solutions available for doing such comparison reports online?
I'm writing a little client using Ruby and Savon. The interface changed significantly from version 0.7 to 0.8.x. All my calls don't work anymore :-(.
How can I pass on a local member variable.
Please see the example, @userName and @userPassword are not defined within the block.
begin
@response = @authentication_svc.request :wsdl, "AuthenticateUser" do
http.headers["SOAPAction"] = "AuthenticateUser"
soap.body = "#{@userName}#{@passwd}"
end
rescue Savon::SOAP::Fault = e
@last_soap_error = e.message
end
Is there a way a Web site can learn something about your browsing activities outside of this Web site from an HTTP request sent to the Web site by your browser?
Which control should i use?
I don't want the records to be displayed on the Windows Application list in the same way records displayed in database as this:
I want the records to be displayed statically and a user when right click a record, he/she gets Edit and Remove choices. Of course there has to be static headers at the top.
I hope my request is clear.
I'm using C#.NET - VS 2008
my helloworld_tags:
from django import template
register = template.Library()
def show_profile():
return {"eee": '333'}
register.inclusion_tag("b.html")(show_profile)
my view:
def b(request):
return render_to_response('b.html')
my html:
{% load helloworld_tags%}
dsad {{ eee }}
but only show 'dsad' ,not show 'dsad333'
why??
thanks
Hi all,
I am developing a small facebook application.
In my application I need offline_access and email permission. I've been succesfully prompting the user for permission using
FB.Connect.showPermissionDialog("email,offline_access");
But what I really want to do is prompt the user with a require permission dialog, not request.
Does anyone know how to do that in javascript?
Thank you very much!
I'm trying to install Install MS Visual Studio 2008 Team Foundation in XP but during the installation the setup request Windows Server 2003 Service Pack 1.
I have install TFS 2008 SP1, but nothing have change. I can not install Windows Server 2003 Service Pack 1 because because the OS is in XP.
Any ideas?
I'm trying to login to stackoverlow with openID and I am receiving an error from google saying "Request-URI Too Large". Is this an issue with google or an issue with stackoverlow's implementation of OpenID?
My OpenID url: http://54.org/thomas
The URL
I'm trying to send an ActionSheet a variable from a button.
I can't use the tag property because its being used for something else.
I've declared myIndexRow as an instance variable and have:
NSInteger myIndexRow = indexPath.row;
[deleteButton addTarget:self action:@selector(showDeleteSheet:) forControlEvents:UIControlEventTouchUpInside];
deleteButton.myIndexRow = myIndexRow;
but I'm getting the 'Request for member 'myRow' is something not a structure or union'
There is something obvious I am missing here.
how do you get source ip, username, password, etc... of the client machine that sends a soap request? is there any of these details that one can pull for logging purposes?
I am using Java to handle the incoming SOAP requests. The service simply adds 2 numbers and is working, but I just need to get some client details.
Thanks, Lavanya
Hi,
Is it safe to query with object.get without escaping or validation user submitted value?
For example:
some_var = request.POST.get('some_key')
obj = MyModel.objects.get(name=some_var)
Can the user submit malicious data?
Thanks
I'm trying to get Fiddler to work with my company's proxy. Every external request is returning 407.
So far I've tried adding oSession.oRequest["Proxy-Authorization"] = "YOURCREDENTIALS"; to the customized rules where I used my USERNAME:PASSWORD in base64. Still no luck.
Any ideas? Thanks.
Everything seems to work fine until i want to submit the form and update the database.
Wildcard mapping works on requests like "/navigation/edit/1", but when i submit the form as:
var ajaxPost = function(Url, Params) {
Ext.Ajax.request({
url: Url,
params: Params,
method: 'POST',
async: false,
scope: this
});
};
it says "200 bad response: syntax error" and in firebug there is "Failed to load source for: http://.../Navigation/edit/1".
Any help?
http://maestric.com/wiki/lib/exe/fetch.php?w=&h=&cache=cache&media=java:spring:spring_mvc.png
In the above image, HTTP request sends something to Dispatcher Servlet. My Question is what does Dispatcher Servlet do.
Is it something like getting the information thrown from the web page and throwing it to the controller.
I am trying to find a way to use the Postful API and I need to post an image in the body of the request. I am trying to use rest-client (but am open to other ways):
This is how I am trying to use it after looking at the restclient.rb file but I'm still not clear:
class ContactPostfulsController < ApplicationController
require 'rest_client'
RestClient.post 'http://www.postful.com/service/upload', 'the actual image...?',
:content_type => 'application/octet-stream'
end
When user authorize or remove application, Facebook always request post_authorize or post_remove callback 3 times. Only I throws HTTP 500 error, it stop calling them. Yeah, it would be easy to ignore subsequent requests when I successfully handled that.
So this maybe academic question. Is there any method to stop facebook requests with http status code??? :)
Hi!
I want to use uploadify with Symfony 1.4, but so far I couldn't.
Uploadify loads correctly, I choose my files, it says that the files were successfully uploaded, but the are nowhere.
(I'm doing this on localhost)
Is there anybody who met this problem before?
Thanks, Tom
$file = $request->getParameter('file');
$filename = sha1($file->getOriginalName()).$file->getExtension($file->getOriginalExtension());
$file->save(sfConfig::get('sf_upload_dir').'/'.$filename);
Hi All,
I've been looking but can't find the the documentation:
Is there a way to have a page render a response without the wrapping HTML elements and just print whatever is provided in the body of the tml or alternatively whatever is set in MarkupWriter.write during @BeginRender?
I need a page that does some server side processing and returns pure javascript for an external application to request.
If that is impossible, is it possible to expose the tapestry Ioc to a servlet in the same app?
Thanks, p.
Hi folks,
I'm trying to submit a few forms through a Python script, I'm using the mechanized library.
This is so I can implement a temporary API.
The problem is that before after submission a blank page is returned informing that the request is being processed, after a few seconds the page is redirected to the final page.
I understand if it might sound a bit generic, but I'm not sure what is going on. :)
Any ideas?
Hi all,
One of my functions in a class is called GetIpAddress() which returns the following string:
System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]
This all works well in regular page loads and gets my ip address, but when i for example let a user place a comment, then the ip address is lost after postback and i get an empty string returned.
Am I missing something here maybe?
Kind regards,
Mark
Assume this is the first route entry:
routes.MapRoute(
"myRoute",
"employees/{city}/{pageNumber}",
new { controller="Employees", action = "List", pageNumber = 1 }
);
If I make the following request
employees/london/2
it gets matched to the following action method:
public ActionResult List(string city) {}
How did that happen? I did not specify "city" in my object defaults:
new { controller="Employees", action = "List", pageNumber = 1 }
Please explain. Thanks!