Sep 27
Tom W Robinson Manipulating SessionVariables using AJAX
Sep 27, 2016; 08:21
Tom W Robinson
Manipulating SessionVariables using AJAX
I'm using Jquery .load method to update the DOM and call lassoscript
$("#divupdate").load('jq.lasso',{sessionvariable: sessionvariable});
I thought I would be able to pass a sessionvariable to the jq.lasso file and
->insert ->remove to the sessionvariable array.
My initial tests would indicate otherwise? Is this possible?
If not, has anyone done something similar in function to what I'm trying to
accomplish below?
I would like to use a sessionvariable (array) to manage a user's favorite
products. Basically when the user logs in to their account I want search
the Favorites table and create a session variable so that I can reduce
database interactions. When the user wants to add a product to their
favorites table I don't want to have to redraw the page. I would like to
use the Jquery .load method and on the jq.lasso page I want to Add that
product to the database,Insert the product into the session variable array
and send a simple alert.
I've got the entire solution except for manipulating the sessionvariable
array to reduce database interactions.
Thanks!
--
View this message in context: http://lasso.2283332.n4.nabble.com/Manipulating-SessionVariables-using-AJAX-tp4645507.html
Sent from the Lasso - Talk mailing list archive at Nabble.com.
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Sep 27
Jolle Carlestam Re: Manipulating SessionVariables using AJAX
Sep 27, 2016; 17:41
Jolle Carlestam
Re: Manipulating SessionVariables using AJAX
Sep 27
Tom W Robinson Re: Manipulating SessionVariables using AJAX
Sep 27, 2016; 08:43
Tom W Robinson
Re: Manipulating SessionVariables using AJAX
Sep 27
Jolle Carlestam Re: Manipulating SessionVariables using AJAX
Sep 27, 2016; 18:41
Jolle Carlestam
Re: Manipulating SessionVariables using AJAX
Sep 27
Tom W Robinson Re: Manipulating SessionVariables using AJAX
Sep 27, 2016; 11:32
Tom W Robinson
Re: Manipulating SessionVariables using AJAX