I am new to ASP.NET, but have used ASP and VB.NET (Windows Forms)
extensively. I am having what I would think should be a simple problem
to fix, but is really holding me up.
I have a web application which has a main menu on the left hand side.
This was written in a web module (ascx), and is just dropped on every
page (aspx).
My session handling is managed in the database (this is being built as
a sub-system to an older legacy site which has this paradigm already in
place -- so this is not optional). I handle the session ids through
the URL.
I cannot seem to grab the sid variable thorugh the querystring in the
html. I currently have this:
<script language=vbscri pt runat=server>
Dim mystring As String = request.queryst ring("sid")
response.write( mystring)
</script>
And this gives me an error on the response.write line stating,
Declaration Expected.
I also tried setting a variable to the request.queryst ring variable in
the code behind, and then accessing that variable in the front end, and
that did not seem to work either.
Can anyone help me out?
Thank you,
Danielle
extensively. I am having what I would think should be a simple problem
to fix, but is really holding me up.
I have a web application which has a main menu on the left hand side.
This was written in a web module (ascx), and is just dropped on every
page (aspx).
My session handling is managed in the database (this is being built as
a sub-system to an older legacy site which has this paradigm already in
place -- so this is not optional). I handle the session ids through
the URL.
I cannot seem to grab the sid variable thorugh the querystring in the
html. I currently have this:
<script language=vbscri pt runat=server>
Dim mystring As String = request.queryst ring("sid")
response.write( mystring)
</script>
And this gives me an error on the response.write line stating,
Declaration Expected.
I also tried setting a variable to the request.queryst ring variable in
the code behind, and then accessing that variable in the front end, and
that did not seem to work either.
Can anyone help me out?
Thank you,
Danielle