Apoorv Saxena

Java

Dedicated to the discussion of the Java programming language a...
Oct 23, 2018 08:29
just read this article hacks.mozilla.org/2015/11/… , and surely compression is possible in streams as well
Oct 23, 2018 08:11
am trying to implement this functionality in Java via streams, just trying to be sure about the possibility before sharing the code
Oct 23, 2018 08:00
unable to find any example of compression in streamed response, browser displays "ERR_CONTENT_DECODING_FAILED"
Oct 23, 2018 07:58
Hi all, wanted to know if gzip compression is possible with chunked transfer encoding of data?
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Sep 2, 2016 09:24
hi, am trying to create JavaScript SDK for our platform with a similar implementation like that Facebook JS SDK for logging a user into our system.

Trying to see the most secure way to communicate back the authToken to the main window, while making use of postMessage API as domains don't match
Apr 20, 2014 15:52
technically after AJAX.abort(or cancellation of XHR requests), browser shouldn't wait to post the form, though it seems to be doing so
has anyone come across a similar issue before?
replacing the form post condition with clicking on a hyper link poses the same issue
also, this issue is replicated on both Chrome and Firefox
Apr 20, 2014 15:52
hey, I am encountering an issue with Ajax and Form post, where cancelling all AJAX calls made earlier to form post don't help in the speedy form post, not able to understand whether client side is the issue of concern or the server side
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
May 6, 2014 10:26
parallel
May 6, 2014 10:26
and I wish to run messaging queue jobs in paraller
May 6, 2014 10:22
@DanLugg then, any messaging queue that you would suggest for integration in PHP?
May 6, 2014 10:14
@DanLugg
May 6, 2014 10:14
I actually need to use the response of the externalized process from another request
May 6, 2014 10:12
@DanLugg externalizing the processing is a requirement, though I also need to get the status of progress of the externalizes processing via another request, have you used any other implementation, for a task of this sort?
May 6, 2014 10:09
though it allows the task to be run async in a single request, and as soon as the request dies, the background job gets killed
May 6, 2014 10:08
I have checked out github.com/reactphp/promise
May 6, 2014 10:08
yes
May 6, 2014 10:07
hey, need help in finding a solution that is able to initiate tasks in background asynchronously and also, provide the status of the services
Apr 20, 2014 15:33
also, this issue is replicated on both Chrome and Firefox
Apr 20, 2014 15:31
replacing the form post condition with clicking on a hyper link poses the same issue
Apr 20, 2014 15:27
has anyone come across a similar issue before?
Apr 20, 2014 15:27
technically after AJAX.abort(or cancellation of XHR requests), browser shouldn't wait to post the form, though it seems to be doing so
Apr 20, 2014 15:26
hey, I have an issue with Ajax and Form post, where cancelling all AJAX calls made earlier don't help in the speedy form post, not able to understand whether client side is the issue of concern or the server side
Nov 25, 2013 14:15
@BenjaminGruenbaum thanks for the help..
Nov 25, 2013 13:43
@BenjaminGruenbaum :please correct if I am wrong, how do you then differentiate between a regular POST request and a POST request using AJAX?
Nov 25, 2013 13:33
@Benjamin how then will you validate your request on server side?
Nov 25, 2013 13:32
not able to come across any document that answers the issue of using CSRF token when multiple ajax calls have to be made
Nov 25, 2013 13:31
need help regarding implementation of Anti-CSRF in AJAX rich website..
Oct 11, 2013 15:40
@TomášAresakMalčánek more Cookies or Sessions?
Oct 11, 2013 15:40
@toma
Oct 11, 2013 15:33
<?php setCookie('location', 'IN', 0); ?> this is the only code in the entire PHP file
Oct 11, 2013 15:28
I have even removed BOM via vim command
Oct 11, 2013 15:27
yes error reporting is fully enabled
Oct 11, 2013 15:27
have removed all the text before php statement
Oct 11, 2013 15:26
tried using that
Oct 11, 2013 15:26
hey, encountering this weird problem where setcookie function is not working..
Jul 1, 2013 11:21
hey, is there any way to access POST variables data inside .htaccess
Jul 1, 2013 10:29
am using ErrorDocument 404 /custom.php in htaccess, and ErrorDocument passes GET params but not POST params
Jul 1, 2013 10:27
hey, am trying to capture POST variables inside a PHP document passed through ErrorDocument directive, though there does not seem to be a solution for the same
Jun 24, 2013 19:28
@rdlowrey
Jun 24, 2013 19:28
it is sometime back since I read about it, though an example of implementation of the same is hard to find
Jun 24, 2013 19:26
@rdlowrey can't use any other redirect apart from 301, as the SEO benifiet comes only from 301
Jun 24, 2013 19:25
@rdlowrey if not specified in the header information, the 301 redirected remains in the browser's cache for quite sometime
Jun 24, 2013 19:23
*interval
Jun 24, 2013 19:23
@rdlowrey I want to add a timestamp with a 301 redirect so that 301 redirect expires after a specific intervak of time.
Jun 24, 2013 19:19
@PeeHaa
Jun 24, 2013 19:19
I want to know about writing the header containing the Timestamp
Jun 24, 2013 19:18
@PeeHaa I am unable to find any documentation or resource to implement the same, can you please help..
Jun 24, 2013 19:17
does anybody know about using Timestamps in 301 redirect?
May 28, 2013 08:50
@dragon112 ok, I get your point.
May 28, 2013 08:46
@dragon112 I am giving 301 redirects to old urls to new SEO friendly urls