Session["dtDocuments"] = dtDocuments;

  • Thread starter Thread starter Silvia Brunet Jones
  • Start date Start date
S

Silvia Brunet Jones

I hope this is possible. The Session variable that I am
seting up in the back code of my aspx page is a datatable
with information that include a checkbox. I store this
into the session variable in page load. No I want to
access this session variable contents in client side with
a
<script language="VBScript">
Sub LoadDoc()
dim dtDocuments
dtDocuments = Session("dtDocuments")
etc.....
</script>
The reazon is because depending on what they check the box
I have an active x control that I need to load some files
depending on which ones the click. I have to load the
datagrid from server side save it in a session variable,
all that I can do, but now I need to retrive the session
variable from client side using vbscript.
PLEASE HELP
 
NO
you cannot implictly retrieve a server-side object (eg, Session) from client
side using script.
The session is a server-side artifact.
If you want the client to have the info,
you must explicitly send it to the client.

-Dino
Microsoft
 
Back
Top