[Javascript] Ajax question

Hassan Schroeder hassan at webtuitive.com
Sat Dec 30 13:37:08 CST 2006


tedd wrote:

> I have no problems passing variables between pages using php sessions. I
> also have no problems using ajax to pass a variable to a php session.
> However, I can't get a ajax operation to pass a variable and
> refresh/redirect the browser to another page in one click.

If you're loading another page via GET, why don't you just put the
variable in the query string and be done with it? Why even try to
make two near-simultaneous requests when you can make one?

-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
                opinion: webtuitive.blogspot.com
				
                          dream.  code.





More information about the Javascript mailing list