R
rbutch
guys, ive got a asp.net web app and i like to keep the postbacks to the server at a minimum.
right now it has some pretty extensive procedures and functions in vb.net that assign the result(s) to different global variables. works great, but can be slow.
however,
i can do these same procedures and functions in javascript (much faster), but, eventually it'll need to go to the server and insert/update a sql server DB.
And.
from the research i've been doing, i dont find any good way i can store results from the javascript funcs to Session Variables to be used when the application finally does a postback to the server and ultimately updates the db.
has anyone had any experience or need to do this.
and if so can anyone point me in the right direction.
i tried using javascript global vars and assigning that value to a Session("myVar")
which went nowhere, so any help is as always appreciated.
thanks again.
this forum has saved me more times than i can write a function to calculate.
thanks
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
right now it has some pretty extensive procedures and functions in vb.net that assign the result(s) to different global variables. works great, but can be slow.
however,
i can do these same procedures and functions in javascript (much faster), but, eventually it'll need to go to the server and insert/update a sql server DB.
And.
from the research i've been doing, i dont find any good way i can store results from the javascript funcs to Session Variables to be used when the application finally does a postback to the server and ultimately updates the db.
has anyone had any experience or need to do this.
and if so can anyone point me in the right direction.
i tried using javascript global vars and assigning that value to a Session("myVar")
which went nowhere, so any help is as always appreciated.
thanks again.
this forum has saved me more times than i can write a function to calculate.
thanks
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...