Displaying 20 results from an estimated 5000 matches similar to: "Need Browser to Not Cache Ajax Image"
2005 Oct 17
4
How to send excel file to browser (spreadsheat 0.3.2)
hey, i want to generate an excel file and send it directly to the browser
(without storing it to the harddisk).
does anyone has any solution?
thanks in advance
this is my code:
--------------------
def export_excel
if @request.env[''HTTP_USER_AGENT''] =~ /msie/i
@headers[''Pragma''] = ''''
@headers[''Cache-Control''] =
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object.
Just wanted to check with you guys if this is the correct explanation of toQueryParams().
If yes, then I''ll add it to the documentation as well.
Works for me (but I am not sure if it''s the correct way to use it).
/* String.prototype.toQueryParams takes a query string, i.e, string with
name value pairs
2018 May 07
1
How to log querystring values?
Philipp,
Thanks so much for your time and relpy.
This dawn, before read your email, I worked to implement the URL authentication and it worked like a charm. I am still using querystring instead of custom header field because I have no control over the player. But, the excelent news is, no more rproxy! =)
And you were right, this way I have more possibilities than before!
Again,
2015 Feb 02
1
RFC: Handle query strings for http and https (RHBZ#1092583)
Parse the query string from URLs, and pass it as new add_drive optarg;
use it when building the file= URL for qemu.
Accept query string only for http and https protocols, for now.
---
Possibly it looks like an ad-hoc solution for http(s), although I'm not
sure how it could possibly be generalized somehow (maybe "extra params"
which would be the query string for http(s)?).
2018 May 06
2
How to log querystring values?
Dear Philipp,
Thanks for you reply.
My goal is to show in our analytics page segmented data (official apps,
partner apps, third-party apps, demographic and geo). To do so each app
pass some values in the query string (ie: app id, user id, lat, lng). And I
need to know those values in order to do that.
Today we are using nginx as a reverse proxy to Icecast to get those data
but it
2005 May 18
1
Mysql cmd with Asterisk Problems
Hello all:
I am trying to use the mysql command to retrieve information from a mysql
database.
my example here was formed from using the wiki reference to using the
mysql command.
The problem is with the fetch command.
Here is the macro code:
Mysql(QueryString=SELECT\ ivr-password\ from\ users\ where\ ivr-id=${userid})
Mysql(Query r ${connid} ${QueryString})
Mysql(Fetch fetchid ${r} dbuserpass)
2006 Jun 19
11
html to pdf?
in one of my apps i am currently using redcloth to use textile
formatting on my content.
i am wanting to add reporting to the system, but the content that prints
out doesn''t have the formatting obviously that i can have with html.
what''s a good solution for some kind of formatting where i can use it on
both web and print? i''m using pdf/writer right now and i think
2006 Feb 17
1
A unique 'click to call' project - Could use some advice <--one thing I forgot
In the example I posted previous, there is an obvious gaping security hole,
it would be trivial for someone to read the querystring and exploit it to
make free phone calls, spoof caller ID (if you allow the CallerID to be set
with a QueryString value), etc. You want to make damn sure that the URL is
not publicly accessible or somehow obsfucate the querystring, or use POST.
In my case, I
2006 May 16
2
Dynamically choosing schema using one Model
Hi all,
is there a way in RoR to dynamically set the table to which the Model
must refer to? I''d like to create a sorta "dispatcher" that chooses the
table for the Model based on an HTTP/GET var. To put it in another way
my Model would be fed with data coming from different tables based on
this var passed from the querystring.
Thanks,
Lorenzo
--
Posted via
2015 Dec 02
2
RFC: arbitrary parameters for add_drive
Hi,
one of the bugs we have (#1092583) is about the lack of query string
for http/https URLs: there were patches about that (not merged yet),
whose solution was to add a new optional argument "querystring".
Another bug that I'm looking at (#1118305) is about setting initiator
IQNs for iSCSI drives; a good solution IMHO would be add a new
initiator-name parameter for this.
Thinking
2006 Apr 25
5
to ajax or not to ajax
before I started building my latest rails app, I made the decision to make
good use of ajax. My reasonsing was that users would benefit from the
quicker page updates - the application provides various different types of
insurance quotes, and has several multi-page forms and reports that can be
drilled down 5 or 6 levels deep in some cases - so it seemed like a good
candidate for ajax
Now
2007 Oct 15
2
Cross-Browser History management
Hi !
Is it plan to release a Browser History Management in Scriptaculous ?
Or does anybody know a "prototype" library to manage browser history
compatible with IE6, IE7 and FF ?
We tried to use Really Simple History:
http://code.google.com/p/reallysimplehistory/
But it seems to be incompatible with some Prototype event management.
Regards,
Jp
--
Jean-Philippe Encausse - Veille /
2018 May 06
9
How to log querystring values?
Hello,
I need to get some values passed in the querystring request in the log
file.
Something like that bellow:
ie: "GET /radio?id=1 HTTP/1.1" instead of only "GET /radio HTTP/1.1"
Do I need to change something in the source and compile? Or there is
another way?
Best,
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
2005 Aug 03
2
Ajax in prototype.js
Can someone please explain to me what I need to do to create an Ajax
class using the prototype lib.
Thanks,
Jon Whitcraft
Web Application Developer
Online Services - Indianapolis Motor Speedway
(317) 492-8623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/2f662bb3/attachment.html
2009 Dec 24
2
Showing graphs on browser with gruff lib.
Hi,
I am using "gruff" lib for creating the graphs.
I have got the success to create the graph, but my problem is I don''t
want to store it, I want that they should be displyed on the browser it
self.
I have tried this:-
"
send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'',
:filename =>
2010 Feb 10
4
AJAX responses
Does anyone know if it''s possible to do multiple AJAX responses to a
single request in Rails? I did some googling but didn''t find anything
extremely helpful.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Apr 19
2
how to pass a hash as a parameter in link_to_remote
When using link_to_remote, I''d like to pass along some auxiliary data in
the request. It''s a hash of dynamic data that can change with each
request.
But I get an error when rails trying to "stringify" the hash.
For the regular link_to, it works because it turns the hash into a
regular GET-like query string.
I''m expecting to be able to get my hash as
2015 Dec 03
1
Re: RFC: arbitrary parameters for add_drive
On Thursday 03 December 2015 11:52:14 Richard W.M. Jones wrote:
> On Wed, Dec 02, 2015 at 02:10:52PM +0100, Pino Toscano wrote:
> > Hi,
> >
> > one of the bugs we have (#1092583) is about the lack of query string
> > for http/https URLs: there were patches about that (not merged yet),
> > whose solution was to add a new optional argument "querystring".
2008 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi,
I want to have a page in my Ruby on Rails application that is like a
dynamic / updateable data grid. Like a matrix or spreadsheet segment
(x rows, y columns) which one can click in any of the cells and make
an update, which triggers some AJAX code to fire off the update, and
then the responses come back and update whatever else needs updating
based on this change.
Is there a prototype
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch
my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping