P
pbd22
Hi.
I can't use sessions because I am trying to set globally
accessible variables from the server - side of an ajax call.
I am thinking that a properties class that takes variables
in the same call would be a good way to access these
variables at other points in the program?
Accordingly, I have created the following:
Code:
ip = Request.QueryString("ip")
folder = Request.QueryString("folder")
slot = Request.QueryString("slot")
file = DateTime.Now.ToFileTime().ToString() + ".wmv"
Dim myfile = New myVODFile(ip, slot, folder, file)
Now, after setting the varibles for my myVODFile properties
class in the server code of my AJAX call, I want to use those
variables in the server code of """another""" ajax call. To do
this, I tried:
Code:
Dim x As myVODfile
Dim a As String = x.file
Dim b As String = x.folder
Dim c As String = x.ip
Dim d As String = x.slot
In the hopes of retreiving the same variables set earlier in the
program. But, I get "Nothing".
Could somebody explain to me if, what I am attempting is
correct and, if so, where I am going wrong?
I appreciate your time.
Thanks,
peter
I can't use sessions because I am trying to set globally
accessible variables from the server - side of an ajax call.
I am thinking that a properties class that takes variables
in the same call would be a good way to access these
variables at other points in the program?
Accordingly, I have created the following:
Code:
ip = Request.QueryString("ip")
folder = Request.QueryString("folder")
slot = Request.QueryString("slot")
file = DateTime.Now.ToFileTime().ToString() + ".wmv"
Dim myfile = New myVODFile(ip, slot, folder, file)
Now, after setting the varibles for my myVODFile properties
class in the server code of my AJAX call, I want to use those
variables in the server code of """another""" ajax call. To do
this, I tried:
Code:
Dim x As myVODfile
Dim a As String = x.file
Dim b As String = x.folder
Dim c As String = x.ip
Dim d As String = x.slot
In the hopes of retreiving the same variables set earlier in the
program. But, I get "Nothing".
Could somebody explain to me if, what I am attempting is
correct and, if so, where I am going wrong?
I appreciate your time.
Thanks,
peter