ASP.Net Session State Problem with IIS6

Discussion in 'ASP .Net Security' started by JK, Apr 29, 2004.

  1. JK

    JK Guest

    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, Apr 29, 2004
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    > 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, Apr 29, 2004
    #2
    1. Advertising

  3. JK

    bruce barker Guest

    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" <> wrote in message
    news:...
    > 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, Apr 30, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shamanthakamani
    Replies:
    1
    Views:
    3,490
    Natty Gur
    Nov 20, 2003
  2. Jeff Smythe
    Replies:
    3
    Views:
    1,239
    Jeff Smythe
    Jan 2, 2004
  3. =?Utf-8?B?Sks=?=

    ASP.Net Session State Problem with IIS6

    =?Utf-8?B?Sks=?=, Apr 29, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    2,446
    George Ter-Saakov
    Apr 30, 2004
  4. jnickfl1
    Replies:
    0
    Views:
    584
    jnickfl1
    Sep 18, 2006
  5. archana
    Replies:
    0
    Views:
    341
    archana
    Mar 13, 2007
Loading...

Share This Page