Click to See Complete Forum and Search --> : ny other way of passing values


whihathac
November 24th, 2006, 11:35 AM
hello all,
i hav just got in touch with AJAX. I use ASP.NET
i hav a query..
Is ther any other way of passing values to aspx pages other than to make a querystring..

also 1 more thing..
How do i maintain session states with ASPX and AJAX pages..

mcmcom
May 11th, 2007, 04:10 PM
Q1: You can store whatever you want in Session Variables instead of using the querystring

Q2: Session State is handled automatically by ASP.NET the same was as always, Having AJAX App only adds the "luxury" of using the XmlHttpRequest object to transfer data. It has no differences with Session states.

hth,
mcm

TheCPUWizard
May 11th, 2007, 04:19 PM
Having AJAX App only adds the "luxury" of using the XmlHttpRequest object to transfer data.

Actually you always could use this technique [I was doing in back in 2002], AJAX is a library that makes it much simpler.

mcmcom
May 11th, 2007, 04:24 PM
yes all thats changed is now it has a fancy name!
mcm

TheCPUWizard
May 11th, 2007, 04:51 PM
yes all thats changed is now it has a fancy name!
mcm

And something like 300K lines of code......