Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Ajax question


  • From: hassan at webtuitive.com (Hassan Schroeder)
  • Subject: [Javascript] Ajax question
  • Date: Sat Dec 30 13:33:15 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@xxxxxxxxxxxxxx
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
                opinion: webtuitive.blogspot.com
				
                          dream.  code.