Re: (forte-users) Session management for page builder(fwd)

Jaco,
Hope this helps,
John
John Soper, Information Systems Development, ITS, The University of Melbourne
email: j.soperits.unimelb.edu.au >>>> Tel: 9344 5612---------- Forwarded message ----------
Date: Mon, 10 Jan 2000 16:34:31 +1100
From: Lyle Winton <L.Wintonits.unimelb.edu.au>
To: John Soper <j.soperits.unimelb.edu.au>
Subject: Re: (forte-users) Session management for page builder (fwd)
Why not construct an intermediate page after the
login page that has SESSION_UNSPECIFIED and
a refresh META tag. The page can then refresh
to either the login failed or login succeeded pages
depending on how the login went! Looks like...
1) Login page (SESSION_UNSPECIFIED)
2A) Refresh page (SESSION_UNSPECIFIED)
< HTML >
< HEAD >
< META http-equiv="refresh"
content="0;URL=<a href=
"http://www.blah.com/forte.cgi?PageName=3">http://www.blah.com/forte.cgi?PageName=3</a>" >
< /HEAD >
< BODY >
Login succeeded. Please wait...
< /BODY >
< /HTML >
2B) Refresh page (SESSION_UNSPECIFIED)
< HTML >
< BODY >
Login failed.
< /BODY >
< /HTML >
3) We're finally in. (SESSION_REQUIRED)
I'm not sure if this works on internet exploder.
Lyle.
John Soper wrote:
Lyle,
(Post from forte mailing group)
Does this make sense to you?
John
John Soper, Information Systems Development, ITS, The University of Melbourne
email: j.soperits.unimelb.edu.au >>>> Tel: 9344 5612---------- Forwarded message ----------
Date: Thu, 30 Dec 1999 07:54:24 +0200
From: "Jaco Erasmus (home)" <jacoerasmweb.co.za>
To: kamranaminyahoo.com
Subject: (forte-users) Session management for page builder
Hi everybody,
We have a lot of legacy code making use of the page builder service to
produce web pages. These pages were originally written without session
management. I'm now busy adding session management to them, but there is
one problem with this approach and I will appreciate if someone can shed
some light on it. Here it is:
Page one is submitted.
Some validation (authentication) takes place and depending on the outcome,
either page 2A (SESSION_REQUIRED) or 2B (error page with
SESSION_UNSPECIFIED) must be displayed. In order to implement this, I
needed a place to make a decision. The way I've done it, is to pass a
'virtual page' (SESSION_UNSPECIFIED) to the page builder service. The
validation is done here and request.PageName is then replaced with the
PageName of pages 2A or 2B. The HandleRequest() method is then called
again. The problem is that the ValidateSession() method does not get
invoked again, thus allowing 2A through without a session. How do I make
sure that the ValidateSession() method get invoked again?
The approach making use of templates look to me as if it has all the means
to do this (redirect tag), but I don't want to rewrite everything if I
don't have to. Is there a way that a pagebuilder page can be specified by
the redirect tag? This will definitely help, but so far I've only managed
to call templates from the redirect tag.
Is the template approach better suited for session management? It is
definetely better documented...
Regards.
Jaco
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

Hi,
i hope this helps
http://help.sap.com/saphelp_nw70/helpdata/EN/7e/aa610cc1dd8f4388b1df02fc362f0f/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/69/c250754ba111d189750000e8322d00/frameset.htm
regards,
Anil.

Similar Messages

  • RE: (forte-users) memory management

    Brenda,
    When a partition starts, it reserves the MinimumAllocation. Within this
    memory space, objects are created and more and more of this memory is
    actually used. When objects are no longer referenced, they remain in memory
    and the space they occupy remains unusable.
    When the amount of free memory drops below a certain point, the garbage
    collector kicks in, which will free the space occopied by all objects that
    are no longer referenced.
    If garbage collecting can't free enough memory to hold the additional data
    loaded into memory, then the partition will request another block of memory,
    equal to the IncrementAllocation size. The partition will try to stay within
    this new boundary by garbage collecting everytime the available part of this
    memory drops below a certain point. If the partition can't free enough
    memory, it will again request another block of memory.
    This process repeats itself until the partition reaches MaximumAllocation.
    If that amount of memory still isn't enough, then the partition crashes.
    Instrument ActivePages shows the memory reserved by the partition.
    AllocatedPages shows the part of that memory actually used.
    AvailablePages shows the part ot that memory which is free.
    Note that once memory is requested from the operating system, it's never
    released again. Within this memory owned by the partition, the part actually
    used will always be smaller. But this part will increase steadily, until the
    garbage collecter is started and a part of it is freed again.
    There are some settings that determine when the garbage collector is
    started, but I'm not sure which ones they are.
    The garbage collector can be started from TOOL using
    "task.Part.OperatingSystem.RecoverMemory()", but I'm not sure if that will
    always actually start the garbage collector.
    If you track AllocatedPages of a partition, it's always growing, even if the
    partition isn't doing anything. I don't know why.
    If you add AllocatedPages and AvailablePages, you shoud get the value of
    ActivePages, but you won't. You always get a lower number and sometimes even
    considerably lower. I don't know why.
    Pascal Rottier
    Atos Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    -----Original Message-----
    From: Brenda Cumming [mailto:brenda_cummingtranscanada.com]
    Sent: Tuesday, January 23, 2001 6:40 PM
    To: Forte User group
    Subject: (forte-users) memory management
    I have been reading up on memory management and the
    OperatingSystemAgent, and could use some clarification...
    When a partition is brought online, is the ActivePages value set to the
    MinimumAllocation value, and expanded as required?
    And what is the difference between the ExpandAtPercent and
    ContractAtPercent functions?
    Thanks in advance,
    Brenda
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    The Forte runtime is millions of lines of compiled C++ code, packaged into
    shared libraries (DLL's) which are a number of megabytes in size. The
    space is taken by the application binary, plus the loaded DLL's, plus
    whatever the current size of garbage collected memory is.
    Forte allocates a garbage-collected heap that must be bigger than the size
    of the allocated objects. So if you start with an 8MB heap, you will always
    have at least 8MB allocated, no matter what objects you actually
    instantiate. See "Memory Issues" in the Forte System Management Guide.
    -tdc
    Tom Childers
    iPlanet Integration Server Engineering
    At 10:37 PM 6/11/01 +0200, [email protected] wrote:
    Hi all,
    I was wondering if anyone had any experience in deploying clients on NT
    concerning
    the memory use of these client apps.
    What is the influence of the various compiler options (optimum
    performance, memory use etc)?
    We seem to see a lot of the memory is taken by the Forte client apps (seen
    in the Task Manager
    of NT) in respect to the other native Window apps. For example an
    executable of approx 4Mb takes up to
    15Mb of memory. When I look at the objects retained in memory after
    garbage collection, these are about
    2Mb. Where do the other Mb's come from?

  • Session management for a web service

    I am building a web service where the user will need to login and the application will need to maintain a persistent session. I am using Apache Axis2 for client/server communication via SOAP/XML. What would the simplest and most common way of doing this? I know I could implement session management from scratch similarly to how a browser does it, using cookies, but I'd rather use standard Java libraries for this. Am I correct in assuming that even though I'm using Axis2, the solution doesn't really have anything to do with Axis2 since Axis2 is basically just a way for the client/server to send messages to each other?
    I've read a lot of information online about this, but there's so much information that it's hard to know where to start. Basically I'm just looking for someone to point me in the right direction on what classes to use and so on. I just need a simple username password authentication and session management system for a web service.

    Container Managed Authentication. Does everything you need.

  • ADF Best Practice : About user session management in ADF BC

    Hi,
    I'm using ADF BC and I want to manage information specific to a particular user.
    In the developer's guide at §9.10 it is advised to use APIs relative to DBTransaction class through the getSession and getUserData methods.
    I have several questions :
    * are Session objects returned by ApplicationModuleImpl.getSession() and DBTransaction.getSession() the same ?
    * is it safe to manage user information by using the map returned by the oracle.adf.share.ADFContext.getSessionScope() method ?
    * finally, which is the recommended approach and what are the caveats of each ?
    Thanks a lot,
    Seb.

    Here is the code fragment :
       * Return the jhsUser object.
       * For this method to return an object, the user object must have called setUser
       * on the application module
      public Object getUser()
        Object user = ADFContext.getCurrent().getSessionScope().get(JhsUser.JHS_USER_KEY);
        if (user!=null)
          return user;
        // code below for backwards compatibility
        if (getSession()==null)
          return null;
        return getSession().getUserData().get(JhsUser.JHS_USER_KEY);
       * Stores user object as am session userdata.
       * @deprecated user is now retrieved using pull meachnism with ADFContext, instead of
       * push.
      public void setUser(Object user)
        getSession().getUserData().put(JhsUser.JHS_USER_KEY, user);
      }Notice the deprecated method setUser.
    Seb.

  • Implementing max user sessions settings for TACACS with ACS 5.3

    I'm a little confused about the configuration of max user sessions for device administration with TACACS.
    When I've changed the configutration of unlimited sessions for a value in Access Policies > Max User Session Policy > Max Session User Settings
    I think this value could limit the maximum number of sessions for each user, but instead this value limit in a global meaning all of my sessions.
    For example: I need to limit the session for my users in 2.
    user1 = Max 2 sessions
    user2 = Max 2 sessions
    user3 = Max 2 sessions
    Whe i Put the value of 2 in Max Session User Settings
    user1 + user2 + user3 = Max 2 sessions
    This is a limitation of ACS 5.3 or my configuration needs something aditional.

    Luis,
    Are you saying that when you authenticate with user1 and user 2 that user3 isnt able to get access?
    Do you have tacacs accounting enabled on the network access device?
    Also what do you have configured for the group settings? If there is a maximum group setting and all the users are a member of the same group then the lesser of the two will be enforced. So if the group max sessions is set to 1 then the all users in that group will have a max session of 1.
    Here is some reference material.
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/user/guide/access_policies.html#wp1162177
    Thanks,
    Tarik Admani

  • Session Manager for Safari? Glims pathetic?

    Is Glims unable to match what Firefox has in Session Manager? Glims can only retrieve the last session of tabs before a crash, and then only if the history's not been cleared (if it has, you'll get all the tabs that you had open, pre-crash, but none of the sites). Session Manager allows you to select one of a long list of previous web sessions' roster of sites you had tabbed and were working with.
    Sorry, Safari, I tried to come back to you, but on this count, you lose to Firefox in a big way.

    HI,
    *Sorry, Safari, I tried to come back to you, but on this count, you lose to Firefox in a big way*
    Keep in mind that Glims is 3rd party software. Apple has no control over this. Make sure you have the latest version of Glims and repair disk permissions. See if that helps.
    Carolyn

  • Citation Manager for Pages 4.2 or later?

    I have used RefWorks and EndNote and Mendeley to manage citations. As far as I know these only interface with MWord. Is there a plug-in or app that allows these citation managers to work with Pages? Are there other citation managers that work with Pages? Does Apple have its own work-around for this? Please don't let me be enslaved to Microsoft!
    The only discussion I can find on this topic is from 2007 (5 years ago). Any update on this?

    Well, I have databases full of stuff I have read so that when I am done with a paper I can just dump in a multi-page bibliography and then paste in-text citations without having to look anything up or even think. I will look into the EndNote plugin. I am a little surprised there is not an "easy" and "affordable" solution for this. Oh well.
    If anyone else has suggestions, I am open!

  • ATG Session Management for multiple instance

    Hello,
    I have a topology for ATG applicaiton on my local as one web server with two instances of ATG running. I am storing the cart details in a cookie however, the issue I am facing is that when I restart the browser [close and open again] sometimes I see the items in my cart and at times my cart is empty [Depending on what instance the request was served from]. The req I am working towards is to have items every time I do the routine mentioned above.
    Also, When I changed the architecture to one web server and one instance, my cart populates just fine.
    This is for anonymous user; no I am not persisting anonymous user profile/order details. Cart Info is stored in a secure cookie.
    ATG9_1 Jboss4

    tnx Ram..
    but problem tht i mentioned is happening at my client site. In my office i dont get that problem. Why such discrepancy dint know......
    Infact it want my application in such a way that when i logged in to my application using seperate set of user id and password from two new
    instance of IE 6.0 browser (Not through CTRL+N), logging out my
    application from one IE browser by clicking Log Out button should not logged me out from othe instance.
    When i printed session value when logged from two new instance, i found that both are taking same value at client site where as in my office set-up they both take different values (which is wht i wanted). Set-up and everything are same at both the end. So why such different behaviour at both end. Iplanrt versions are same at both place.
    As mentioned by you i have not incorporated session.setMaxInactiveInterval(-1); in my code. Infact the sesson time out is default to webserver (ie 30 mins).
    Tnx,
    Sachin

  • CVS management for Pages.

    Does anyone know why my CVS directories are being blown away when I save .pages files.
    I don't get the same problem with other applications like graffle, which also uses directories for files..
    The best solution I have found so far is to use OnMyCommand and a little script.
    That way you can left click on the item lock CVS , then edit it and left click and unlock.
    http://www.symonty.org/iWorkPatches/

    I'm afraid the situation has not changed much since version 2.0 and these posts:
    http://discussions.apple.com/thread.jspa?messageID=3822447&#3822447
    http://discussions.apple.com/thread.jspa?messageID=1822609&#1822609

  • How to delete last user session from backend SQL query?

    Sometimes user session gets closed between some work by any reason.
    When next time that user logs to P6, he gets some error or particular functionaly dosen't work for that user or system hangs.
    In that case if i decided to clear last session history of that user from database, how to write SQL query?
    I don't want to delete all user sessions from table USESSION and USESSAUD, i simply want to delete last user session of particular user (E.g XYZ).

    I am quoting this from MOS Doc Id "Why would multiple session records be present in the User Sessions screen in P6 Web, and why might some of them have different IP addresses? (Doc ID 1600172.1)"
    Multiple sessions show up for users since different sections of P6 Web have their own sessions associated with them. If a user is authorized to use multiple areas of the software they will have multiple sessions each time they log in. Additionally, if users are closing their browsers before logging out of P6 Web Access you might see some past sessions still appearing in the list. These will eventually be cleared out by background jobs, however you can also reset the sessions in the software by clicking the "Reset User" link (Administer > User Sessions > Manage User Sessions), or by choosing the "Reset All Users" link (Administer > User Sessions > Manage User Sessions) to do this for all past sessions.
    Multiple IP addresses for sessions can happen when a user logs in from different machines. For example, a person may login at their desk, but then go to a colleagues workstation to discuss a project, and log in from there. Doing so will leave them with multiple IP addresses in the session records.
    Hope this helps
    Regards,
    Sachin Gupta

  • Web service authentication/session management using Axis2

    I'm creating a web service using Axis2 where the client will need to login to the service and maintain a session. I'm trying to figure out a good way to do this. I've read the article on the following link:
    http://www.developer.com/services/article.php/3620661/Axis2-Session-Management.htm
    and it describes 4 main ways of doing this: Request Session Scope, Soap session scope, Transport session scope, and Application scope. However, it doesn't give much detail in actually implementing this. It says to add a parameter to services.xml like this:
    <service name="foo" scope=" transportsession">
    </service>
    but what about the actual code that goes in the server and client to actually handle the login process and verify the username/password in an SQL database on the server? I'm having a lot of trouble finding a good tuturial on this. Can anyone point me in the right direction? I'm also open to other ideas that don't necessarily directly involve Axis2.

    Session management for a web service and already answered. Locking.

  • Different transitions page build in and build out

    is there a way to create different transitions for page build in and build out in indesign?

    You are correct - that is not Indesign Terminology. I want to have a differnet page transiton when I arrive at page 2 then when I leave page 2. I want objects to animate in a particula waay when I arrive on page two, and those objects to animate away in a differnet way when I leave page 2. I can't seem to get a button to do animations AND then leave a page.

  • Cfdiv and session managment

    I am working on a website that uses session managment for
    security login.
    The site was developed with CF6, and we are now trying
    migrating it to CF8.
    Currently, forms are submitted passing the session token in
    the URL like this:
    <form
    action="Assignments.cfm?<cfoutput>#session.URLToken#</cfoutput>"
    method="post">
    </form>
    I'm trying to integrate CFDIV into the code, so I have
    <cfform>
    </cfform>
    <CFDIV bind="url:AnotherForm.cfm ...>
    When I run this, Instead of including "AnotherForm.cfm" the
    session is not getting passed and the system logs me out.
    I've tried
    bind="url:AnotherForm.cfm?<cfoutput>#session.URLToken#</cfoutput>
    (also logs me out)
    and putting the code in a
    <cfdiv>
    <cfform
    action="AnotherForm.cfm?<cfoutput>#session.URLToken#</cfoutput>">
    </cfform>
    <cfdiv>
    Doesn't abend, but doesn't do anything either.
    So, does anybody know how to incorporate cfdiv into session
    management?
    thank you,
    Steve Shapiro
    University of Oregon

    Yes, entity managers are allowed to have one transaction active at any given time.
    Assuming that you have a resource-local entity manager (from your comment about JDBC and non-JTA data sources) then any container-managed transaction associated with a session bean is going to be a JTA transaction and be completely independent of the entity manager transaction (as long as the non-JTA-data source is properly set to a data source that is not a JTA data source).
    If you are using a non-JTA data source element to configure your database then the entity manager will simply do a getConnection() on the data source. If you are using the JDBC persistence properties in persistence.xml then the connection will be obtained directly from the JDBC driver.

  • Number of user sessions / each session time

    Hi,
    I need to find out the following info
    1) Then number of user sessions and for each session duration for every user..
    is there a way to compute the same (if it's not directly available)..
    so basically at J2EE Session level how do i find out for each user what was the session time.
    Any pointers will be greatly appreciated.
    Regard,s
    Sam

    You can find some information within the NWA - Monitoring - Java Systems Report - report: User activities...
    Regards
    Timm

  • User login details for validations

    Hi,
    I am not sure How i can implement this..
    I need to keep user session id for user authentication . It is also targetted to be moved to clustered environment.
    I have created an entity bean to store the info. The bean does not get migrated from one server to another in cluster mode.
    1) First how do i implemet a simple user autehtication one user is validated.
    2) How can this info be used in clustered environment.
    any help/links will be very helpful..
    Satish

    Try the following forum (about EJB technology)
    http://forum.java.sun.com/forum.jspa?forumID=13

Maybe you are looking for