M
mouac01
Currently I'm using hidden input textboxes to store session variables
(eg. login_id, first_name, last_name). So when I need to use the
values in a fuction I would do login_id.value, etc.. I'm thinking if
it's better to just set the login_id, etc.. as global variables. I
may have a lot of variables and the session may be long. I'm worried
that I might lose global variables due to memory leaks and other
issues. In my mind if I store it in a hidden textbox the text
actually is stored on the page so it won't just disappear. Any
thoughts? Thanks...
(eg. login_id, first_name, last_name). So when I need to use the
values in a fuction I would do login_id.value, etc.. I'm thinking if
it's better to just set the login_id, etc.. as global variables. I
may have a lot of variables and the session may be long. I'm worried
that I might lose global variables due to memory leaks and other
issues. In my mind if I store it in a hidden textbox the text
actually is stored on the page so it won't just disappear. Any
thoughts? Thanks...