Passing/Storing Sessions on Clustered Server?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Passing/Storing Sessions on Clustered Server?

    Hi all,

    At work we have 2 servers in a cluster for our web apps.

    One problem we have experienced (along with many others!) - is that if a
    user is logged into one of the applications on server a for example and it
    goes offline or fails their session is lost also - even though the
    application becomes available on server b.

    I have heard that it is possible to either exchange the sessions between
    clustered servers or store them in a SQL Server database (probably
    preferred) so that we could then restore them if such a failure should
    occur.

    Can anyone shed any light on this for me? Or give me some URL's to check out
    and read.

    Sorry this isn't a 100% pure IIS question - its obviously partly ASP also.

    Thanks in advance for any help you can offer.

    Regards

    Robb

    PS: Windows 2000 servers, SP3, Application Center 2000 SP1 (sp2 about to be
    applied), SQL Server 2000 SP2 (sp3 about to be applied).


    Rob Meade Guest

  2. Similar Questions and Discussions

    1. Flash Media Server on Clustered Servers
      Hello to all, i am new to the Flash world and am trying to figure out if Flash Media Server Pro can be installed in a clustered server environment...
    2. Passing SESSIONS with trans_sid switched off
      I want to use sessions to cover myself in case the user switches off cookies so I am passing the session ID manually through a hidden input field....
    3. redirect user to same server in clustered web farm
      Hi, Is it possible to redirect user to same webserver until his session ends? Thanks in advance
    4. direct the user to same server in clustered web farm
      How can I direct user to same server until his session ends in the clustered web farm? Thanks in advance
    5. Sessions not passing properly
      I use sessions as part of my login script. One of the values passed is userid. The userid seems to pass fine into the main part of the page, but...
  3. #2

    Default Re: Passing/Storing Sessions on Clustered Server?

    You will need to "roll your own" sessions by putting the session data into a
    database and using a cookie, hidden form field, or URL parameter to identify
    the session. There are a number of articles out there on this. Also see
    [url]www.aspfaq.com[/url]. There are also a number of 3rd-party "session" objects that
    support this behavior as well.

    As I understand it, .NET has most of this built-in.

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    [url]www.ielearning.com[/url]


    "Rob Meade" <robb.meade@NO-SPAM.kingswoodweb.net> wrote in message
    news:J7Alb.2607$BW1.23308545@news-text.cableinet.net...
    > Hi all,
    >
    > At work we have 2 servers in a cluster for our web apps.
    >
    > One problem we have experienced (along with many others!) - is that if a
    > user is logged into one of the applications on server a for example and it
    > goes offline or fails their session is lost also - even though the
    > application becomes available on server b.
    >
    > I have heard that it is possible to either exchange the sessions between
    > clustered servers or store them in a SQL Server database (probably
    > preferred) so that we could then restore them if such a failure should
    > occur.
    >
    > Can anyone shed any light on this for me? Or give me some URL's to check
    out
    > and read.
    >
    > Sorry this isn't a 100% pure IIS question - its obviously partly ASP also.
    >
    > Thanks in advance for any help you can offer.
    >
    > Regards
    >
    > Robb
    >
    > PS: Windows 2000 servers, SP3, Application Center 2000 SP1 (sp2 about to
    be
    > applied), SQL Server 2000 SP2 (sp3 about to be applied).
    >
    >

    Mark Schupp 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