How to create session and end the session in atg without using ootb

can anyone send the code for creating session(Login) and ending(Logout) session in atg without using ootb.
thankyou!

It is plain simple and is plain old request.getSession(false) and then invalidate the session , but why do you want to do it separately . ATG works behind scenes to associate lot of attributes to the session when log in happens and then deassociates them when log out happens , SessionManager component is also helpful in security , can you state why exactly would you want to do it?

Similar Messages

  • I must be missing something...is there a video that teaches how to create, save and open a session?

    I just don't seem to get it. Opening an old session seems difficult if you can't remember the specific name. Files in those sessions are not saved it seems unless you save each one individually. (Am I wrong here) Can someone help this early morning radio guy...I must be missing a step but I can't figure it out.
    Ed in Hawaii

    edkanoi wrote:
    Opening an old session seems difficult if you can't remember the specific name.
    I have that problem sometimes, too. Personally I put it down to my age!
    Files in those sessions are not saved it seems unless you save each one individually. (Am I wrong here)
    Audition won't let you close a session with unsaved files without putting up a warning about it - and you get an option to save all of them. By default, files get put in the {session name}_Recorded file with the sesx file (the session information) in the root folder. In there as well you can get Bounced file folders, and also one for mixdowns. When you first create a session, you get to choose the path you use, and everything else just occurs in a structure beneath that, which you can add to if you want. Whenever you need to save things, you get a browse option as well - worth using that first.
    I really don't think it's that difficult, and the new scheme (yes it's not quite like the previous version) seems to work fine. With the best will in the world, Adobe can't compensate for anybody's amnesia though! Since there isn't a particular limit on what name you give your sessions, then the best thing to do if you're likely to forget is to give them longer, more meaningful names - and make sure that the folder they're in has the same name. Also, try to keep a relatively flat folder structure - in other words, don't have them nested several layers deep in a huge tree structure - that never helps.

  • Starting a managed server session and keeping the session when you exit

    I created a managed server named "xxx_mgd" with the create managed server wizard in the admin console
    when I start the managed server it produces a prompt for the username and password, whcih is the same username
    and password entered when i was created. The issue I have is that when I exit the session, the process dies.
    In comparison to the starting of the admin server, which is started with custom scripts which calls the standard wl startup scripts and it runs in background using nohup....
    Is there away to start my managed server the same way, so that it stays running when you exit. I have tried running it as the admin server, using an option where the password if fed, but it dies and never startup
    If you have any clue let me know
    Joseph

    Assuming that you are running WebLogic version 9.x and above.
    Copy the "security" folder inside DOMAIN_HOME/servers/AdminServer directory to DOMAIN_HOME/servers/ManagedServer directory.
    This security folder will have boot.properties file which contains encrypted username and password which is used when starting the server.
    You can run Admin Server in background using nohup command as below from DOMAIN_DIRECTORY. This command will redirect stdout to AdminServer.out file.
    nohup ./startWebLogic>>AdminServer.out &
    You can run Managed Server in background using nohup command as below from DOMAIN_DIRECTORY/bin folder. This command will redirect stdout to ManagedServer.out file.
    nohup ./startManagedWebLogic.sh <Managed Server Name> t3://<AdminServerListenAddress>:<PortNo> >>ManagedServer.out &
    Hope this helps.
    - Tarun
    Edited by: Tarun Boyella on Feb 3, 2011 2:09 PM

  • How we can import and run the matlab codes in labview using xmath script.

    hello,
    i have some GUI code in MATLAB and i want to process that codes in labview . tell me about the procedure how we can done this task.
    thanks in advance
    rachana
    Er. (Instrumentation)

    Hello,
    The title of your post asks about using Xmath script.  Is this what you intended?  You can use the Xmath script node in LabVIEW if you have MATRIXx 7.x or earlier installed.  However, the syntax is slightly different from the syntax of The MathWorks, Inc. MATLAB® software.
    In LabVIEW 8.0, we introduced LabVIEW MathScript.  The LabVIEW MathScript syntax is similar to the MATLAB language syntax.  In LabVIEW MathScript, you generally can execute scripts written in the MATLAB language syntax.  However, the MathScript engine executes the scripts, and the MathScript engine does not support some functions that the MATLAB software supports.  In order to reuse code that you have written, open the MathScript Window by going to Tools >> MathScript Window.  You can also use the MathScript node as part of a VI you are writing.  You can find the node on the Programming >> Structures palette.  You can import an existing script by right-clicking the node and selecting "Import..."  You can create inputs and outputs for the script by right-clicking on the node and selecting the appropriate option.  If you wish to call any functions you have written, put them in the MathScript search path.  By default, this is your "My Documents\LabVIEW Data" folder.  In LabVIEW 8.5, you can change the default search path for the main application instance by going to Tools >> Options.
    LabVIEW MathScript does not contain very many GUI functions at this time.  You can use the VI's front panel as your GUI, though, and interact with your program that way.  Let me know if you have other questions about moving your code or about specific functions.
    MATLAB® is a registered trademark of The MathWorks, Inc.
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

  • How can I copy and paste a long page here without using email?

    How can I copy and paste a long page without using email?

    Thanks for replying. Actually I want to copy/paste a recipe from a website so I can keep the recipe. On p 39 it tells how to copy/paste, which I do a lot already, but it doesn't tell where to paste it so I can access or print it whenever I want. It's kind of a long recipe. Too long to type out. Any ideas for that?

  • How to save, combine and retrieve the images on hard drive using IMAQ in labview

    Hi,
    I am using NI-1426 frame grabber to capture images of 800x1 resolution with 270 bands. Actually, I want to capture images from camera and saving into the hard drive continuously so that my buffer does not run out of memory.  After capturing say 100 images of same resolution (800x1), I want to combine all images into ENVI format and then again save on hard-drive. Please guide me how can I do that?
    Thanks
    Sidd 

    Hi Jeff,
    Let me explain it in little detail.
    I am using PCI NI-1426 frame grabber to capture the images at particular frame rate. Ni-1426 has 2 ports i.e. 26 pin camera and 15 pin triggering port. I am sending the pulse per second (pps) signal from gps to the triggering port. I want to check for the pps signal through the frame grabber 15 pin port. Please tell me how can I listen to a trigger through a frame grabber in labview? As I have connected pps signal on pin1 in 15 pin port, I want to read that pin. or how can I read a particular  pin data in labview? I have already checked that I am getting pps signal through oscilloscope.
    Thanks
    Regards,
    Sidd 

  • How to create shortcut programmatically in the mobile from a website using MVC 4

    Hi
    We have created MVC 4 mobile web application, need to create shortcut from code in MVC 4 to mobile device. So that user need not to create shortcut himself/herself in mobile device.
    Thanks in advance.

    This forum is to discuss problems of C# development. Your question is not related to the topic of this forum.
    You'll need to post it in the dedicated ASP.Net Forum
    http://forums.asp.net for more efficient responses, where you can contact ASP.NET experts. Thanks for understanding.

  • How can i get rid of the clock on lockscreen without using cydia

    how do i remove the clock from the lockscreen as i havent got a jailbroke iphone and cannot use cydia

    You cannot.

  • Creating URL and fetching the parameters

    Hi,
    In my webdynpro application I hav to create a URL that shud take me to a new IView and in that URL I have to give certain Parameters that I have to fetch as application parameters.I am not aware how to create URL and give the PCD path of the new iView and the Parameters that I hav to fetch. I have seen some of the threads but I am not able to find out the clear picture.Could anyone help me out?
    This is really urgent.
    Thanxs in advance.

    Hi,
    You can navigate from one view to another using portal navigation
    WDPortalNavigation.navigateAbsolute();
    The above method needs various parameters which are shown<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm">here</a>
    Warm Regards,
    Murtuza

  • How can i check that who end the session

    Hi to all ,
    my query is that how can i check that who end the session.
    through SM04 user who have the authontication can end the session so how can i check that who end the session being a BASIS admin.
    Thanks & Regards

    It's wrotes in system log, check in sm21.
    Regards.

  • Is there an online training session on how to create forms and documents

    Is there an online training session on how to create forms and documents

    Hi,
      We do have tutorials and FAQ documents on how to create forms in Adobe FormsCentral, please see:
    Tutorial: http://forums.adobe.com/docs/DOC-2731
    https://www.acrobat.com/formscentral/en/library/how-to-make-create-survey-or-form.html
    FAQ: http://forums.adobe.com/docs/DOC-2861
    Thanks,
    Lucia

  • How to invalidate a session based on the session id

    How to invalidate a session based on the session id

    You have to write your own support for this.
    It used to be in the API, but was deprecated as a security hole.
    The best way to do it is implement a session listener (javax.servlet.http.HttpSessionListener) which notifies you when sessions are created/destroyed.
    You can then keep a map of sessions in your own code, indexed by session Id, and access any/all of them to invalidate as you choose.

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • If I disconnect and connect the session which was currently working will not be avialable but a new session starts.

    Hi
    RDP connection over server 2008 R2 standard, if I disconnect and connect the session, which was currently working  will not be avialable but  a new session starts.
    what features should I add and how to configure so that if connection is lost the user should see the same session when they connect back.
    kind Regards,
    Jayanth

    Hi,
    Please enable this policy and try again.
    Restrict Users to a Single Session
    http://technet.microsoft.com/en-us/library/cc754762.aspx
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • After typing master password in session can I force typing master password again without ending current session and starting new session?

    Sometimes after using the master password to access an account during a given firefox session I would like to "revoke" this ability for automatic access (i.e. require typing the master password again) without having to end the current session and restart firefox.
    While it is nice to only have to type the master password once per session, there are times when after starting some action I would like to leave the browser unattended for a short time but prevent others from accessing sensitive information at other sites if they do not know my master password. Note this is not the same as "locking the browser." Presently the only way I know to force this is to kill the current session and restart the browser but this is not very satisfactory if I actually want to stay connected (authorized) at a particular site. I would hope that adding a button on the security tab to "require master password for current session" would be a simple fix to implement? Thank you for your attention.

    While waiting for a response to this question, I stumbled upon a partial (good workaround) answer to my question in the form of a Firefox addon, Master Password Timeout [https://addons.mozilla.org/en-US/firefox/addon/master-password-timeout/ ]. Among other things it adds "Logout Master Password" as an option under the Firefox "Tools" menu which then gives the functionality I was looking for.
    It seems to me though that this is a basic security option that would be good for a general Firefox user to be aware of since leaving a browser open unattended with no master password required could easily lead to trouble. Before finding this addon I was not aware that Firefox 4 had a 30 minute default timeout for the master password. At least in my case I have left Firefox going overnight on home computers and have not had to retype the master password the next morning... so somehow I missed having this "default" set when I upgraded to Firefox 4.

Maybe you are looking for