Reply to Sending $_GET directly to AJAX

Your name:

Reply:


Posted by Erfan Shirazi on 09/30/81 11:34

Hi all


I'm writing a function which will redirect the user to the last page
they were at when a session timeout occurred. The function will save all
variables and set them through POST or whatever was used on that page.

I.e: $_POST[$variableName] = $variableContent;

This works fine with regular php/html pages which uses either POST, GET
or SESSION for sending variable from one page to another.

But I have some pages which uses AJAX and it communicates internally
through GET, I'm able to save the variables which are send through GET
in AJAX, in debug mode AJAX refers to it by:
(RSD: destinationUpdate uri) which basically seems to be a normal link
without the pagename and only variables which are sent.

But when I try to set the variables again for AJAX to use after a
timeout, nothing happens and it only displays what is called (RSD:
received) AJAX debug mode. Which seems to be the answer to AJAX "question".

It seems that it all works good when I set the correct GET variables
until it sends back its answer, then it gets stuck. And this is my
problem, I would like to send variables through GET to AJAX and make it
work as it has send the variables it self.

Is there any experience AJAX users/developers which could help me with
me problem?

Thx in advance.
/Erfan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация