Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to check request is ajax in zend framework?



How to check request is ajax in zend framework?..

Answer / Prachi Shikher

In Zend Framework, you can check if a request is an AJAX request by checking the 'X-Requested-With' header. Here's an example: `if ($this->getRequest()->getHeader('X-Requested-With') == 'XMLHttpRequest') { // it's an AJAX request }`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

Does zend support php 4? Explain

1 Answers  


What are the steps kept in mind while designing the zend_form?

1 Answers  


What is the difference between zend framework and laravel?

1 Answers  


Is there a way to make fpdf/fpdi or zend_pdf support the parsing of pdfs greater than 1.4?

1 Answers  


How to include css from controller and view in zend

1 Answers  


How to include css and js from the controller in the zend framework?

1 Answers  


Can you explain why are in-built libraries used for the web services?

1 Answers  


Grouping where clauses with zend_db_table_abstract ?

1 Answers  


How to access route, post, get etc. Parameters in zend framework 2?

1 Answers  


In which file we can configuration in zend framework?

1 Answers  


Write a program to show the function of action helper?

1 Answers  


What is a module in zend framework 2?

1 Answers  


Categories