Help... losing session contexts

Hi,
I'm trying to build a web based application that allows users to log in and be tracked as being logged in using the set_context options.
Basically, the user name and password are validated by a table in a procedure, then if a match is found, the context is set for that user. By doing so I can use vpd to restrict which reports in the app the user can see.
This works just fine on my personal laptop with me browsing my web pages generated by the mod_plsql plug in for apache. If I migrate my code to my linux box and access it over the web (which feeds through a second apache reverse proxy server), the context is frequently lost as soon as I log in. Sometimes it's not lost, and I can navigate to my reports, but then find that the logged in user it displays can be the one I logged in as, or another user I logged in as previously.
I've added a cursor in my code to output all namespace, attribute and value values from the session_context table
while I'm navigating through my app and find that all values for all three columns disappear when I navigate further into my report.
It appears that I'm a losing my sessions because of the feed through the reverse proxy server that ensures that my reports can be seen by the outside world. Is this a reasonable explanation and if so, does anyone know of any work arounds for this issue?
Thanks.
Kurt

Something I need to add. All access to the web session is being done as TEST. When the user logs in, he's being validated against a table for that application, but not actually logging into the database. I was just reading the asktom article about Application contexts in a web environment (http://asktom.oracle.com/pls/ask/f?p=4950:8:11131473361978280247::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:5669294472933, ). He refers to a 9i feature for contexts called accessed globally and the best example I see in the article talks about using cookies to maintain session_id's which link the user back to the session as they navigate through each page of the web. Is there any way to do this without using cookies to re-establish context in relation to a session? Is there any way to do this in 8i or am I stuck with a 9i and higher feature?
Or have I totally missed the boat in understanding all this.
Thanks.
Kurt

Similar Messages

  • Losing session ... please help me

    I am developing a program that connect between Applet and Servlet.
    I have a problem that losing session in servlet , when I request a servlet using URLConnection in Applet.
    I don't know why the servlet loses the session.
    I guess that the session is changed when I connect server by URLConnection.
    please give me a hand...

    Try using a java.net.HttpURLConnection instead of java.net.URLConnection. Your session is probably not maintained across requests because cookies aren't being handled properly.

  • CoA Session Context Not Found

    Hello Guys,
    I am using a Cisco 2951 with 15.3(3)M1, and when doing some tests with CoA i got the following error:      
    *Nov  7 10:34:24.780: COA: 1.1.1.1 request queued
    *Nov  7 10:34:24.780: RADIUS:  authenticator 52 CF BB 58 BB D5 69 4E - 59 3B 09 75 E9 83 54 4C
    *Nov  7 10:34:24.780: RADIUS:  User-Name           [1]   2   ""
    *Nov  7 10:34:24.780: RADIUS:  Acct-Session-Id     [44]  10  "0000002B"
    *Nov  7 10:34:24.780: RADIUS:  Vendor, Cisco       [26]  42
    *Nov  7 10:34:24.780: RADIUS:   Cisco AVpair       [1]   36  "subscriber:command=reauthenticate "
    *Nov  7 10:34:24.780: RADIUS:  Message-Authenticato[80]  18
    *Nov  7 10:34:24.780: RADIUS:   B6 78 8B EA DE 3B 73 26 57 53 C0 E7 47 89 2C 6D         [ x;s&WSG,m]
    *Nov  7 10:34:24.780: COA: Message Authenticator decode passed
    *Nov  7 10:34:24.780:  ++++++ CoA Attribute List ++++++
    *Nov  7 10:34:24.780: 01EEAF6C 0 00000081 username(450) 0
    *Nov  7 10:34:24.780: 01EEB7EC 0 00000001 session-id(408) 4 43(2B)
    *Nov  7 10:34:24.780: 01EEB820 0 00000081 ssg-command-code(490) 1 32
    *Nov  7 10:34:24.780:
    *Nov  7 10:34:24.780:  ++++++ Received CoA response Attribute List ++++++
    *Nov  7 10:34:24.780: 01EEB7EC 0 00000082 reply-message(273) 16 No valid Session
    *Nov  7 10:34:24.780: 01EEB820 0 00000002 error-cause(272) 4 Session Context Not Found
    This is very strange, because the session-id is correct.
    Can anyone advice me on this? Thanks!
    David

    Hello Manuel,
    Thanks for all your help. Here is the show output
    LNS#show subscriber session uid 47 detailed internal
    Subscriber session handle: EC00005E, state: connected, service: Local Term
    Unique Session ID: 47
    Identifier: [email protected]
    SIP subscriber access type(s): VPDN/PPP
    Root SIP Handle: 5300005D, PID: 313
    Child SIP Handle: 7900002F, PID: 318
    Current SIP options: Req Fwding/Req Fwded
    Session Up-time: 19:52:55, Last Changed: 19:52:55
    Switch handle: 211E
    Interface: Virtual-Access2.2
    Policy information:
      Context 10EC39C0: Handle 7B00002F
      AAA_id 0000003B: Flow_handle 0
      Authentication status: authen
    Policy internals:
      Policy state                        : wait-for-events
      Authorization type                  : AAA service
      Active key                          : apply-config-only
      Authorization active key            : Auth-User
      Last top level rule type            : session-service-found
      Client                              : SM
      Last message from client            : Apply Config Success
      Last message to client              : Apply Config Success
      Current key list from client        :
        Identifier: Auth-Domain = "xxx.xx"
        Identifier: Protocol-Type = 0 (PPP Access Protocol)
        Identifier: Session-Handle = 3959423070 (EC00005E)
        Identifier: Tunnel-Name = "LNS"
        Identifier: Media-Type = 2 (IP)
        Identifier: Input Interface = "GigabitEthernet0/1.2000"
        Identifier: AAA-Acct-Enbl = 1 (YES)
        Identifier: Authen-Status = 0 (Authenticated)
        Identifier: Nasport = Vty Terminal: port 47 IP 69.17.193.90
        Identifier: Auth-User = "[email protected]"
      Network plumbing done yet           : Yes
      Network plumbing directive proposed : None
      AIE handle                          : 2B00002F
      AIE user ID                         : 47
      AAA user ID                         : 0000003B/59
      Authorization index                 : 0
      Authorization priority              : 1
      Context                             : 7B00002F
      North handle                        : 00000000
      North callback                      : 00000000
      South handle                        : EC00005E
      South callback                      : 06B898A8
      Current access-type                 : PPP
      All access-types                    : [0] VPDN
                                          : [1] PPP
      No more keys available from         : PPP
      Session activated                   : Yes
    Session inbound features:
    Feature: QoS Policy Map
      Input Policy Map: INTERNET-15Mb-IN
    Session outbound features:
    Feature: QoS Policy Map
      Output Policy Map: INTERNET-15Mb-OUT
    Configuration sources associated with this session:
    Interface: Virtual-Template1, Active Time = 19:52:55
    Pending status associated with this session:
    Bind status: Success, Delay delete: No, Pending mask: 0
    And the debug output for a reauthenticate command
    *Nov  8 10:21:58.367: RADIUS: COA  received from id 1 x.x.x.x:60590, CoA Request, len 108
    *Nov  8 10:21:58.367: COA: x.x.x.x request queued
    *Nov  8 10:21:58.367: RADIUS:  authenticator 1D 92 FF 04 43 EA 0E 11 - DE 49 2F AE 81 46 42 78
    *Nov  8 10:21:58.367: RADIUS:  User-Name           [1]   18  [email protected]
    *Nov  8 10:21:58.367: RADIUS:  Acct-Session-Id     [44]  10  "0000003B"
    *Nov  8 10:21:58.367: RADIUS:  Vendor, Cisco       [26]  42
    *Nov  8 10:21:58.367: RADIUS:   Cisco AVpair       [1]   36  "subscriber:command=reauthenticate "
    *Nov  8 10:21:58.367: RADIUS:  Message-Authenticato[80]  18
    *Nov  8 10:21:58.367: RADIUS:   7F CA 0A 96 A7 4C 5F 05 57 33 4D 36 D6 7A 37 7E         [ L_W3M6z7~]
    *Nov  8 10:21:58.367: COA: Message Authenticator decode passed
    *Nov  8 10:21:58.367:  ++++++ CoA Attribute List ++++++
    *Nov  8 10:21:58.367: 01FCE77C 0 00000081 username(450) 16 [email protected]
    *Nov  8 10:21:58.367: 01FCFBAC 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:21:58.367: 01FCFBE0 0 00000081 ssg-command-code(490) 1 32
    *Nov  8 10:21:58.367:
    *Nov  8 10:21:58.367: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:21:58.367: RADIUS(00000000): sending
    *Nov  8 10:21:58.367: RADIUS(00000000): Send CoA Nack Response to 69.17.193.4:60590 id 1, len 62
    *Nov  8 10:21:58.367: RADIUS:  authenticator A3 EC 85 01 C3 31 E2 B3 - 25 22 38 79 DA 8E 95 46
    *Nov  8 10:21:58.367: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:21:58.367: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:21:58.367: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503]
    *Nov  8 10:21:58.367: RADIUS:  Message-Authenticato[80]  18
    *Nov  8 10:21:58.367: RADIUS:   AC 83 2A 7C DE 7D 78 8E B7 91 C9 F0 16 8B 86 D2              [ *|}x]
    Even the PoA is not working
    *Nov  8 10:24:04.022: RADIUS: POD  received from id 4 x.x.x.x:57061, POD Request, len 66
    *Nov  8 10:24:04.022: POD: 69.17.193.4 request queued
    *Nov  8 10:24:04.022:  ++++++ POD Attribute List ++++++
    *Nov  8 10:24:04.022: 01FCFBAC 0 00000081 username(450) 16
    [email protected]
    *Nov  8 10:24:04.022: 01FCE77C 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:24:04.022: 01FCE7B0 0 00000081 Message-Authenticator(274) 16 20 2C D0 32 B2 B7 70 BC CE 0F 57 30 8A 0B 52 B7
    *Nov  8 10:24:04.022:
    *Nov  8 10:24:04.022: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:24:04.022: RADIUS(00000000): sending
    *Nov  8 10:24:04.022: RADIUS(00000000): Send Disconnect Nack Response to x.x.x.x:57061 id 4, len 44
    *Nov  8 10:24:04.022: RADIUS:  authenticator 86 6C A4 7E EC E6 D8 DA - 30 03 38 E7 51 03 78 86
    *Nov  8 10:24:04.022: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:24:04.022: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:24:04.022: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503] *Nov  8 10:24:04.022: RADIUS: POD  received from id 4 x.x.x.x:57061, POD Request, len 66
    *Nov  8 10:24:04.022: POD: x.x.x.x request queued
    *Nov  8 10:24:04.022:  ++++++ POD Attribute List ++++++
    *Nov  8 10:24:04.022: 01FCFBAC 0 00000081 username(450) 16 [email protected]
    *Nov  8 10:24:04.022: 01FCE77C 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:24:04.022: 01FCE7B0 0 00000081 Message-Authenticator(274) 16 20 2C D0 32 B2 B7 70 BC CE 0F 57 30 8A 0B 52 B7
    *Nov  8 10:24:04.022:
    *Nov  8 10:24:04.022: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:24:04.022: RADIUS(00000000): sending
    *Nov  8 10:24:04.022: RADIUS(00000000): Send Disconnect Nack Response to x.x.x.x:57061 id 4, len 44
    *Nov  8 10:24:04.022: RADIUS:  authenticator 86 6C A4 7E EC E6 D8 DA - 30 03 38 E7 51 03 78 86
    *Nov  8 10:24:04.022: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:24:04.022: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:24:04.022: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503]
    Thanks!!
    David

  • The session context in the socket project

    hello
    in the j2ee program,i can set the user login info in the session context(such
    as user name and password or permisson),and trace them during the session,the
    servlet container help me a lot.
    but in my current project,i use the socket communication to connect the c# client
    and the java server,after the client login in one socket connection,it must close
    the socket,when it reconnect to the server to send the data,the server don't know
    who it is,that is the server don't know whether the client login or not and if
    the client is just one who has just login.
    i wonder how can i implement the session function that is similar to servlet do
    in my socket project?
    who can help me?
    thank you!!

    Hi Form
    Any Enlightining Ideas.....
    Still thinking. E.g. why the GUI is doing the authentication. Well it does have >> to prove a user ID. That'd be enough to identify a sessionOk after the UserId is authenticated , (???? Session ???) on a pure GUI...
    How about doing further tasks, Also How to uses this Session API in a
    Pure GUI env...
    Plz
    with regards
    Karthik

  • Losing Session for Weblogic 7.0.2 in Cluster env

              PROBLEM: We are losing our session when running in our app in a clustered environment.
              The user can use the app for a while, but then weird stuff starts happening. In
              some cases, the login check that we do at the begining of each request fails,
              because it tries to check for a login token in the session, and the session has
              been wiped out. The user gets forwarded to the login page.
              Our configuration is: WLS 7.0.2 (OS = Windows 2000) Admin Server and a managed
              server A at APP1 (physical machine), another managed server B at APP2 (physical
              machine), A and B is in one cluster. We had 6 Apache Servers 2.0.45 (OS = Linux)
              and each works together with Weblogic Plugin. The weblogic plugin has the following
              configuration: <Location /sample> SetHandler weblogic-handler WeblogicCluster
              10.1.1.11:7010,10.1.1.12:7010 Idempotent ON CookieName JSESSIONID </Location>
              The server A and B use round-robin loadblancing, and we have a hardware loadblancer
              infront of Apache to do loadblancing for our 6 web servers.
              In weblogic.xml we config our application to use replicated for session failover.
              Losing session is randomly happened.
              Anyone of you have any idea?
              Thanks in advance.
              Harry
              

    The advice on version numbers given above is quite generic. While JDK 1.4 may work, if you want to run a supported configuration the answer to this question depends on what OS you're running. Further, BEA supports different JDK versions for running the server and for client applications. Here is the whole chart:
    http://e-docs.bea.com/platform/suppconfigs/configs70/70_over/overview.html
    Be sure to click on your operating system to get the specific information about what JDK is "fully-supported" and what is "client-only".
    Hope that helps,
    Justin

  • How-to map multiple explicit search help values to context attributes?

    Hi,
    I have a custom explicit Search Help with multiple attributes set as export and uses search help exit for data retrieval. I have set this Search Help for one of the context attribute that is binded to one of the input fields on view.
    Now, is it possible to dynamically map other export attributes from this Search Help to other Context attributes?
    I know this works for Input helps that are directly derived from check tables but not sure how to do it for explicit Search Helps.
    Can anyone please confirm and let me if this is possible? If yes, then can you please share an example or describe how to do it?
    Thanks and Regards,

    Hi Srinivas,
    Check this ..Search help can be dynamically assigned to a field.
    data lo_nd_info type if_wd_context_node_info.
    lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
    EXPORTING
    name = 'ATTR1'                  " Your attribute Name
    value_help_mode = '121'    " Valid value help mode
    value_help = 'Z187442'.      " Search help name
    The various possible values that you can pass to value_help_mode are as shown below.
    deactivated 101
    automatic 111
    ddic 121
    ovs 131
    Also refer this..
    Re: How to put dynamic search help in web dynpro ABAP.
    Cheers,
    Kris.

  • Session context getting expired

    Hi,
    I am making a call from my application to other application.I am setting the session ctx in my application .
    In my application i have a stateless session bean .If i do
    mySessionCtx.getCallerPrincipal().getName());
    lets say I am getting xyz.
    My bean calls different applications which are also stateless session bean.
    when the client session bean authenticates it is getting UNAUTHENTICATED but not xyz.So it throws exception .
    The session time out is configured from websphere as 30 min.
    The session gets timed out after 30 min the context xyz vanishes.So client bean is getting UNAUTHENTICATED instead of xyz.
    How can i configure session time out or context to exist for some time it in my code?
    One work around is changing timeout in websphere .But I need to configure in my code either session timeout or making session context to exist more than 30 min.
    Thanks and Regards

    Siva,
    There can be many factors for this: 'ClientSessionExpireMinutes'
    Defines the length of idle time that can pass before Oracle BI Presentation Server removes the user's client (browser) session information from its memory. This session includes user-specific state information such as request cache - dashboard page state - subject area information -connection information - and so on.
    Make sure while testing you are not doing anything on OBIEE browser window i.e. its idle
    Also, try to increase the minutes to say 240 and check how much time it takes ...??
    This shud solve..as this is very common problem with such tags..its not 100% guranteed !!

  • OBIEE 11g Repository Question: session context

    The Metadata Repository Builder's Guide says in chapter 13, "Note: Alternatively, you can use the database session context to pass end user identity to the database. Use a connection pool script to set up session context. Note that this approach does not rely on database authentication."
    However, no example or instruction is given to show/explain how to do that. Does anyone know how to set up a connection pool script to pass the :USER value to the database session context object? We have to pass the user ID of the Analytics user to the database so as to apply VPD policies.
    Thanks,
    Ken

    I'm trying also to get work VPD with OBIEE 11.1.1.5, but no luck. I have done almost all the same as are in Venkatakrishnan's example. It seems that select statement with set function in "execute befire query" goes to the database, but it have no effort because query in Answers returns no rows, means that :USER is not forwarded to the policy function. Is it possible that statement in "execute before query" and Answer request are not in same database session? Have anyone got work VPD with OBIEE 11.1.1.5? Everything works ok for example in SQLPlus and in SQL Developer.
    - Risto
    Edited by: risto.soikkeli on 6.8.2011 17:56
    Edited by: risto.soikkeli on 6.8.2011 23:04

  • Losing session with WLS 7.02 in cluster env

              PROBLEM: We are losing our session when running in our app in a clustered environment.
              The user can use the app for a while, but then weird stuff starts happening. In
              some cases, the login check that we do at the begining of each request fails,
              because it tries to check for a login token in the session, and the session has
              been wiped out. The user gets forwarded to the login page.
              Our configuration is:
              WLS 7.0.2 (OS = Windows 2000)
              Admin Server and a managed server A at APP1 (physical machine), another managed
              server B
              at APP2 (physical machine), A and B is in one cluster. We had 6 Apache Servers
              2.0.45 (OS = Linux) and each works together with Weblogic Plugin. The weblogic
              plugin has the following configuration:
              <Location /sample>
              SetHandler weblogic-handler
              WeblogicCluster 10.1.1.11:7010,10.1.1.12:7010
              Idempotent ON
              CookieName JSESSIONID
              </Location>
              The server A and B use round-robin loadblancing, and we have a hardware loadblancer
              infront of Apache to do loadblancing for our 6 web servers.
              In weblogic.xml we config our application to use replicated for session failover.
              Losing session is randomly happened.
              Anyone of you have any idea?
              Thanks in advance.
              Harry
              

    To verify that it is WL and not your app logic, try using a different
              session replication implementation for testing, such as the one that comes
              with Coherence for Servlet 2.3 containers:
              http://www.tangosol.com/coherence.jsp
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Harry Yu" <[email protected]> wrote in message
              news:[email protected]...
              >
              > PROBLEM: We are losing our session when running in our app in a clustered
              environment.
              > The user can use the app for a while, but then weird stuff starts
              happening. In
              > some cases, the login check that we do at the begining of each request
              fails,
              > because it tries to check for a login token in the session, and the
              session has
              > been wiped out. The user gets forwarded to the login page.
              >
              > Our configuration is:
              > WLS 7.0.2 (OS = Windows 2000)
              > Admin Server and a managed server A at APP1 (physical machine), another
              managed
              > server B
              > at APP2 (physical machine), A and B is in one cluster. We had 6 Apache
              Servers
              > 2.0.45 (OS = Linux) and each works together with Weblogic Plugin. The
              weblogic
              > plugin has the following configuration:
              > <Location /sample>
              > SetHandler weblogic-handler
              > WeblogicCluster 10.1.1.11:7010,10.1.1.12:7010
              > Idempotent ON
              > CookieName JSESSIONID
              > </Location>
              >
              > The server A and B use round-robin loadblancing, and we have a hardware
              loadblancer
              > infront of Apache to do loadblancing for our 6 web servers.
              >
              > In weblogic.xml we config our application to use replicated for session
              failover.
              >
              > Losing session is randomly happened.
              >
              > Anyone of you have any idea?
              >
              > Thanks in advance.
              >
              > Harry
              >
              

  • Losing portal context when URL is submitted from flash/flex portlet

    Hi, I am losing portal context when URL is submitted from action scripting in Flash/Flex portlet. I have selected the remote webservice portlet to use inline refresh. The jsp page is opening up in complete browser window instead of showing in portlet section.
    below is the code snippet i am using.
    <mm:mxml>
         <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="200">
         <mx:Script><![CDATA[
         public function submitToBrowser():void {
         var url:String = "formsubmit.jsp";
         var u:URLRequest = new URLRequest();
         var variables:URLVariables = new URLVariables();     
         variables.name = fName.text;     
         u.data = variables;
         u.url = url;
         u.method = "POST";
         navigateToURL(u,"_self");
         ]]></mx:Script>
              <mx:Form id="myForm" defaultButton="{mySubmitButton}">
              <mx:FormItem label="User Name">
              <mx:TextInput id="fName" name="fName"/>
              </mx:FormItem>
              <mx:FormItem label="Password">
              <mx:TextInput id="password" displayAsPassword="true"/>
              </mx:FormItem>
              <mx:FormItem>
              <mx:Button label="Submit" id="mySubmitButton"
              click="submitToBrowser();"/>
              </mx:FormItem>
              </mx:Form>
         </mx:Application>
    </mm:mxml>

    inline refresh modifies javascript, not flex. Maybe try an iframe?

  • Deployig to a Cluster without losing session.

    Hi,
              We have a cluster setup with 4 servers. We use HttpSession and
              StatefulSessionBeans in the cluster with in-memory replication. Is it
              possible to redeploy the application to a cluster without losing
              session ?.
              Thanks,
              -Senthil.
              

    We have a cluster setup with 4 servers. We use HttpSession and          > StatefulSessionBeans in the cluster with in-memory replication. Is it
              > possible to redeploy the application to a cluster without losing
              > session ?.
              Not with WebLogic session replication. The session replication is "lazy"
              (only when something happens) so the best approach is to make sure there are
              no imcompatibilities and then cycle the cluster one server at a time, maybe
              one server every hour (or whatever your session timeout is).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Senthil" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              >
              > Thanks,
              > -Senthil.
              

  • Get a session context at portal init time

    I have code to read in a custom varpack file which runs at portal startup. I'd like to be able to query information from the database which I'll use in processing the config file, but it seems I need to have a session context in order to do this.
    Is there a way to query the DB w/out a session context, or to create a session while processing a varpack?
    Thanks!

    I have code to read in a custom varpack file which runs at portal startup. I'd like to be able to query information from the database which I'll use in processing the config file, but it seems I need to have a session context in order to do this.
    Is there a way to query the DB w/out a session context, or to create a session while processing a varpack?
    Thanks!

  • AAA Session Context Error

    Dear Experts,
    We are using Cisco 7301 as our NAS for our DSL users and a third party software as Radius
    We configured PoD radius server for our DSL . But it seems that radius can't remove the users from the NAS .
    The following is the error
    Dec 7 20:33:27.547: POD: Added Reply Message: No Matching Session
    Dec 7 20:33:27.547: POD: Added NACK Error Cause: Session Context Not Found
    The following is my config
    aaa server radius dynamic-author
    client <radius ip address>
    server-key cisco
    auth-type any
    ignore session-key
    ignore server-key
    aaa pod server auth-type any server-key cisco
    Regards
    Haris

    My Issue is fixed now
    The "aaa session-id common" command was enabled already . But my Issue was different
    I got two interfaces from NAS going to two different switches and both were seeing as two different NAS by radius . So sometimes the radius request go from one interface and comes from another interface and it was conflicting the session .
    As per Cisco , For a call to be disconnected, all parameters must match their expected values at the gateway. If the parameters do not match, the gateway discards the packet of disconnect packet and sends a NACK (negative acknowledgement message) to the agent
    http://www.faqs.org/rfcs/rfc2882.html
    Regards
    Haris

  • Please Help: Session context sharing between wars in same app

    I'm using iplanet iAS6.0 SP1.
    I have to share a session among 6 wars inside my application.
    I have tested individual wars and they work fine. Now during integration
    i find that session is not being shared.
    in my application descriptor i have included all the wars and I have
    used the same context-root name for all war entries.
    On of the wars is a login.war and it sets some user previlages info into
    session which has to be shared among all wars.
    I'm not able to get it working.
    My settings in each war for session info go like this,
    <session-info>
    <impl>distributed</impl>
    <dsync-type>dsync-distributed</dsync-type>
    <timeout-type>last-access</timeout-type>
    <secure>false</secure>
    <domain></domain>
    <path></path>
    <scope></scope>
    </session-info>
    I'm stuck here. Documentation says on making session distributed and
    setting dsync-type to distributed should work.
    What else should be done in SP1.
    Is it a must to move to SP2 to solve this. And even in SP2 is it
    straight forward?
    Please help
    my application.xml looks like this............
    <application>
    <display-name>myapp</display-name>
    <module>
    <web>
    <web-uri>mywar1.war</web-uri>
    <context-root>app</context-root>
    </web>
    </module>
    <module>
    <web>
    <web-uri>mywarN.war</web-uri>
    <context-root>app</context-root>
    </web>
    </module>
    <module>
    <web>
    <web-uri>login.war</web-uri>
    <context-root>app</context-root>
    </web>
    </module>
    <module>
    <ejb>myjar1.jar</ejb>
    </module>
    </application>

    Thanks-- that wasn't exactly the solution, since the dates and times are correct and IP addresses on both machinges should have been handled by DHCP, but you solved my problem by reminding me that there is a TCP/IP extension, which I looked at and saw that TCP/IP was turned off. I turned it on, and now everything is as it was an hour ago. So thank you!

  • HELP: Forms and Report Session Context Problem

    Hi:
    I use CONTEXT in our applications. Every time there's a query to
    any of the applications tables it's added a predicate in WHERE
    clause to restrict access to the data that belongs to different
    people!
    The context is set when the user LOGIN into applications (NOT
    DATABASE) using our login system. Each user that login's in
    applications use one user that is always the same (X_USER)
    connecting to database. Each session created after our login
    system validate user creates a CONTEXT in session and that
    context is used to restrict access in tables with the predicate!
    Our problem is... Calling reports form forms on WEB create
    another session with the user X_USER and when create's that
    session the CONTEXT parameters are not SET, so i can SELECT data
    from any table!
    Is there a way to execute in reports our PROCEDURE that set
    context of the session?
    Can the reports use the same session of the forms ?
    Any solution?
    Thankx in advance,
    Ricardo

    No, Forms and Reports use different sessions. What you can do is
    to add a parameter to the report that contains the context. And
    use the Before Parameter Form trigger to set the appropriate
    action.
    I used to set a role to the report user this way, but you can
    adapt it to your particular needs.

Maybe you are looking for

  • Need to create a function that will act like the save as browser function

    I need to create a button on a web page that will open up a save dialog box and then save the current web page as an .html file on the persons hard drive. The reason for this is because the window is a pop up that does not have the browser menu or an

  • Doubt in Read_text

    Hi all I have created one support message in crmd_order. In that i have entered Description (Su99). I can see the description in SUZZ LOG. but i can read the text using function module READ_TEXT How can i access. Parameters CLIENT                    

  • Asset description change

    gurus, In as02 transaction description field is having length of char50 .which will appear in f4 help of as02 asset field. here this value come from mcoa1 field having length of char30 only. so what ever i enter in this description filed is not commi

  • Why is the nothing in my trash?

    I mistakenly deleted an application file but when I open trash there is nothing in it.  I recently replaced the hard drive and a lot of things are not working correctly.

  • XferCommand with prozilla, how to make it smarter

    Hi. I use this XferCommand in my pacman.conf: XferCommand =/usr/bin/printf 'Downloading ' && echo %u && /usr/bin/proz  -k=16  -r --no-curses --no-netrc  --no-getch  %u It is supper fast, but it is unable to understand that, for example, "Core is up t