Results 1 to 4 of 4

Thread: ASP.net sessionState **RESOLVED**

  1. #1

    Thread Starter
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378

    ASP.net sessionState **RESOLVED**

    Hi All,

    Now that I have my application installed on a remote web server, session objects dont work when pages are accessed remotely. But when accessing them locally from the server itself it works perfectly. I have tried to manipulate the sessionState settings but still gives me nothing concrete... i've used the following:

    <sessionState
    mode="InProc"
    stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
    cookieless="false"
    timeout="20"
    />

    anybody can help, thanx.
    Last edited by vbud; Mar 25th, 2004 at 12:07 AM.
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    you need to contact your host provider.

  3. #3

    Thread Starter
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378
    Guess not, its a LAN based application. Anyway got this solved, in fact when designing pages in ASP.net and using session state variables you should make sure that the addresses of pop up windows or other ASP pages are not explicitly written and should in fact be relative to the current site. Let me explain, if you have a link to another page in your site, it should rather be something like ..\..\MySecondPage.aspx instead of http://localhost/folder1/folder2/MySecondPage.aspx. The latter makes internet explorer create a new session and hence session variables are not accessible in the second page. Simple? but sometimes hard to spot when you have a large ASP.Net application.

    cheers.
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Yes, every path should be relative.

Posting Permissions

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



Click Here to Expand Forum to Full Width