ASP.Net Session State Problem with IIS6

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default ASP.Net Session State Problem with IIS6

    We recently installed our web application on Windows 2003 and found that our ASPX pages are not coming up correctly.

    We are using sessionstate=StateServer and cookieless=true for Web.config. Applications run perfectly in Windows2000 or XP but in Windows2003 under IIS6 we do not see any of our images and style sheets applied. This is because sessionid is added to the web path and IIS is not able to access it

    How can we make this working in Windows2003 under IIS6? Any thoughts are welcome...

    Thank
    J

    FYI: I posted this under iis6 but got no response so I am posting in other groups

    JK Guest

  2. Similar Questions and Discussions

    1. Session state IIS (Machine Key | Load Balanced Session)
      This is a classic ASP group. Try microsoft.public.dotnet.framework.aspnet "Fred" <me@me.com> wrote in message...
    2. Session State
      Hi, I understand that there are 3 modes in which I can configure the SessionStateModule. What I need is an out of process Session State store...
    3. Using a SQL DB for session state.
      I have encountered a problem when I restart a SQL server I lose my session variables for ASP.NET It seems that the Temp table cannot be used...
    4. Classic ASP session timeout under IIS6.0
      I'm having problems getting session timeouts to change programmaticlaly under IIS6.0. This is unchanged code that ran as expected under IIS5.0. ...
    5. Session state...
      Why are you calling a webservice that is within the same app. Shouldn't the web service be on a different server or at least be a different IIS...
  3. #2

    Default Re: ASP.Net Session State Problem with IIS6

    Let say the page URL is
    http://www.mysite.com/{sessionid}/page.aspx

    and on this page you have <img src="image/my.gif">

    The browser will resolve the image name to
    http://www.mysite.com/{sessionid}/image/my.gif because you specified
    relative path.


    So the solution is to specify absolute path <img src="/image/my.gif">

    I hope you got my drift.

    PS: I am sure that it worked on Win2000 and XP only because when you moved
    to 2003 someone has replace absolute path with relative path. It would not
    work anywere if you did not specify absolute path with cookieless=true.

    George.


    "JK" <anonymous@discussions.microsoft.com> wrote in message
    news:363F2CC4-BBFA-4926-95DA-B3DB151CC887@microsoft.com...
    > We recently installed our web application on Windows 2003 and found that
    our ASPX pages are not coming up correctly.
    >
    > We are using sessionstate=StateServer and cookieless=true for Web.config.
    Applications run perfectly in Windows2000 or XP but in Windows2003 under
    IIS6 we do not see any of our images and style sheets applied. This is
    because sessionid is added to the web path and IIS is not able to access it.
    >
    > How can we make this working in Windows2003 under IIS6? Any thoughts are
    welcome....
    >
    > Thanks
    > JK
    >
    > FYI: I posted this under iis6 but got no response so I am posting in other
    groups.
    >

    George Ter-Saakov Guest

  4. #3

    Default Re: ASP.Net Session State Problem with IIS6

    most likely on the old servers you mapped *.gif to asp.net so the the cookie
    filter would handle the munging. check to see if the application mapping are
    the same on the old and new servers

    -- bruce (sqlwork.com)


    "JK" <anonymous@discussions.microsoft.com> wrote in message
    news:363F2CC4-BBFA-4926-95DA-B3DB151CC887@microsoft.com...
    > We recently installed our web application on Windows 2003 and found that
    our ASPX pages are not coming up correctly.
    >
    > We are using sessionstate=StateServer and cookieless=true for Web.config.
    Applications run perfectly in Windows2000 or XP but in Windows2003 under
    IIS6 we do not see any of our images and style sheets applied. This is
    because sessionid is added to the web path and IIS is not able to access it.
    >
    > How can we make this working in Windows2003 under IIS6? Any thoughts are
    welcome....
    >
    > Thanks
    > JK
    >
    > FYI: I posted this under iis6 but got no response so I am posting in other
    groups.
    >

    bruce barker Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139