Get C# session variable using javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    #1

    Get C# session variable using javascript

    I am new to web development at all but maintaining a .NET
    site that utilizes .apsx pages using vbscript,
    javascript,and C#.

    There is a function I am doing that I only can find out
    how to do in javascript (direct url post to variable then
    close window), however now I need to access a session
    variable from that javascript. I could do it from a C#
    page doing the following:

    (string)HttpCon text.Current.Se ssion["myLearning Url"];

    Anyone know how I can do it in javascript?

    thanks


Working...