Creating new session manually

This is the scenario:
I'm using ie6. If I open a new window by clicking File-->New-->Window, it will open a new window with the same session as the opener window.
Now in my new window, I go to my login page, and in my login code, I set some value to the session, which will overwrite the value of the session in both window.
But what I actually intend to do is when the new window do the login, I want it to have a new session, so it won't overwrite the session in the first window.
I'm sorry if my explanation is a bit confusing. In short, what I want to do is create new session manually using java code. Is that possible?

No it is not possible.
The server can only issue a new session if it can distinguish between browser windows.
The internet browser treats the windows as being the same session, and that's what it tells the server.
If you start a new instance of IE using the shortcut from the desktop, that creates a seperate session, but any 'child' windows opened by javascript, or by file:new window are part of the same process.

Similar Messages

  • Create new session for each window opening

    From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
    but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
    How can i create new sessions for each page thru the servlet or is there any other alternatives

    I actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
    Each browser window (Except in one case with IE) will use the same session in each window.
    However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
    Best of Luck,
    Nate

  • What is the function code of create new session?

    what is the function code of create new session?
    thanks...

    Hi
    Please put a "/n" (to open a new session after killing the current session)
    or "/o" (to open a new session without killing the current session)
    or "/i" (to end the current session) before the below T Codes as per your requirement...
    <u><b>For more Tcodes check the following</b></u>
    =>smartforms - Smartforms (SAP Form Builder to Create and Adjust Forms)
    =>cmod - Enhancements, User Exits (Project Tool to coordinate changes into projects for the purpose of activating all user exits for a particular project)
    =>sale - ALE Customizing
    =>bale - Distribution Administration (ALE)
    =>wedi - IDOC Type and EDI Basis
    =>shdb - BDC (Transaction Recorder)
    =>lsmw - LSMW
    =>bapi - BAPI
    =>spau - Display Modified DE Objects
    =>spdd - Display Modified DDIC Objects
    =>sara - central idoc archiving
    =>stms - Transport Management System
    =>wedi - IDOC Type and EDI Basis (IDOC Configuration)
    =>bd21 - Analyze change pointers - create IDOC from change pointer
    =>bd10 - Send Material Master
    =>bd12 - Send Customer Master
    =>bd14 - Send Vendor Master
    =>bd50 - Activate Change Pointer for Message Type
    =>bd55 - Conversion rule user exit (Link conversion rule user exit to the different system \ partner combinations)
    =>bd54 - Maintain Logical Systems
    =>bd71 - Distribute Customer Model
    =>bd87 - Process Inbound IDOCs
    =>bd88 - Process Outbound IDOCs
    =>bdm2 - Cross-system IDOC Reporting
    =>bdm7 - ALE Audit - statistical analyses
    =>bdm8 - ALE Audit - sending confirmations
    =>bd61 - Activate Change Pointer generally
    =>bmv0 - Direct Input Data Transfer Administration
    =>rz04 - Operation Mode
    =>rz12 - RFC Server Group Maintenance
    =>sar3 - Archiving object customizing
    =>s001 - SAPoffice Inbox
    =>s010 - Standards Texts (SAP Script)
    =>se01 - Transport Organizer (Extended View - Performing and managing the transport of development object across different systems)
    =>se09 - Transport (Workbench) Organizer (Controlling and keeping track of Development work and Development Objects)
    =>se24 - Class Builder (BAPI)
    =>se30 - Runtime Analysis
    =>se36 - LDB
    =>se37 - Function Builder
    =>se38 - ABAP Editor (to modify ABAP programs)
    =>se39 - Split-Screen-Editor
    =>se11 - ABAP Dictionary
    =>se16 - Data Browser (Table contents display)
    =>se41 - Menu Painter
    =>se51 - Screen Painter
    =>se71 - SAPScript Forms
    =>se73 - SAPScript Font Maintenance
    =>se75 - Graphic Objects and Graphic IDs Sapscript Settings
    =>se78 - Administration of Form Graphics (Import Graphics into SAP System)
    =>se80 - Object Navigator
    =>se84 - ABAP Repository Information (search for SAP objects)
    =>se91 - Message Maintenance
    =>se93 - Maintain T codes
    =>su01 - User Maintenance (Security)
    =>su02 - Maintain Authorization Profiles
    =>su03 - Maintain Authorizations
    =>slg1 - Evaluate Application Log
    =>sm12 - Lock Entries
    =>sm21 - System Logs
    =>sm36 - Background Job Scheduling
    =>sm37 - Background Job Monitoring (display batch jobs)
    =>sm31 - Table Maintenance
    =>sm30 - Calling View Maintenance
    =>sm35 - Batch Input Monitoring (Error Logs)
    =>sm50 - Process Overview
    =>sm58 - Transactional RFC Monitoring
    =>sm59 - Maintain RFC Destinations (Define RFC Configuration)
    =>snro - Number Range Objects (for IDOCs)
    =>scc4 - Client Overview (Create, Quick Delete, Modify)
    =>spro - Customizing, Execute Project
    =>sp01 - Spool Administration
    =>sq01 - Maintain SAP Queries
    =>st02 - Buffer Analysis (Status Overview)
    =>st03 - Workflow Analysis
    =>st05 - Performance SQL trace (Tracking the Database calls from the System Transaction and Programs)
    =>st22 - ABAP Dump Analysis, check logical runtime errors
    =>/h - ABAP Debugger
    =>we02 - Display IDOC
    =>we05 - IDOC lists
    =>we07 - IDOC statistics
    =>we12 - Inbound processing of outbound file - convert outbound to inbound file
    =>we14 - Process (dispatch) IDOCs through Port - RSEOUT00
    =>we15 - Outbound IDOC from NAST - message control
    =>we16 - Inbound File
    =>we18 - Generate status file
    =>we19 - Test tool
    =>we20 - Add new Message Type to Partner Profile
    =>we21 - Maintain Port Definition
    =>we30 - IDOC Type development
    =>we31 - IDOC Segment development
    =>we41 - Process Code Outbound
    =>we42 - Process Code Inbound
    =>we46 - IDoc Administration
    =>we47 - Status Code Maintenance
    =>we57 - Assign function module to logical message and IDoc type
    =>we63 - IDOC Type for Parser Output
    =>we82 - Assign IDOC to Message Type
    =>we60 - IDOC Documentation - IDOC Types
    =>we61 - IDOC Documentation - IDOC Record Types
    =>we81 - Create new IDOC Message Types
    =>we82 - Assign IDOC to Message Type
    =>pa20 - Display HR Master Data
    =>pa30 - Maintain HR Master Data
    =>bd59 - Create and assign Filter Object Type for Message Type
    =>bd64 - Maintenance of ALE or any other Distribution Model
    =>db02 - Storage Management and Database Performance
    =>db14 - Database monitor
    =>se18 - BADI definitions
    =>se19 - BADI implementations
    =>fd03 - Accounts Receivable Master Data (Display Customer in Accounting)
    =>me22 - Change Purchase Order
    =>me21 - Create Purchase Order
    =>me51 - Create Purchase Requisition
    <u><b>Official source of SAP T Codes -</b></u>Go to se11 or se16 and view table entries for
    TSTC and TSTCT. This will give you the Transaction List.
    Reward all helpfull answers
    Regards
    Pavan

  • SAPGUI iview from SAP Portal = create new session  results in empty screen

    we use ep700 sp10 and sapgui 6.40 compilation 5 . we have a sapgui iview which starts the login to the R/3 system and shows the user menu with some transactions.
    if the user now creates a new session  with the buttom "create new session" in the sapgui screen he gets a new but empty session  ==> i expected , that he gets the normal sap entry screen with the user and sap menu.
    does anybody now how to get that ?
    many thanks hannes toefferl

    Hi,
    Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
    In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
    Restart the portal for the change to take effect.
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • HOW CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION

    <b>HOW</b> CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION?
    THANKS...

    Hi
    Please put a "/n" (to open a new session after killing the current session)
    or "/o" (to open a new session without killing the current session)
    or "/i" (to end the current session) before the below T Codes as per your requirement...
    Try thistoo <b>O0</b>
    <u><b>demo-like programs</b></u>
    RSIMC000
    RSIMC001
    RSIMC002
    RSIMC003
    RSIMCTRX
    RSIMCTST
    Reward all helpfull answers
    Regards
    Pavan

  • Security Network Layer (SNC) error when creating new session

    in SAPGUI 710, suddenly some users are getting a popup message ("Security Network Layer SNC error") when they use the Create New Session toolbar button.
    SSO works fine when they connect from SAP Logon, its only when attempting to open secondary sessions.  Also, its only some users.
    Where would I find log information resulting from the error?  Or any suggestions on steps to troubleshoot?
    Thanks!

    Hello Erik,
    Issue actually belongs to BC-SEC-SNC, not SAPGUI.
    The attached note advises how to run a trace to get more information about the issue
    150104 collecting dev_trace of user session via SM04
    If you recreate the issue again with the active trace, you might have more sucess with a reply.
    Just to advise that 7.10 is out of support and 7.20 should be used as soon as possible.
    Kind Regards,
    Jude

  • Create New Session with SAPShortcut Logon

    Hello
    Following Problem:
    We start a SAPLogon for Windows  with Shortcut File from our  Portal. There we want to create a new Session , we get a blank SapGui screen without favorites an menu????
    Portal Version  EP7 SP10

    I found the solution in the following Thread . Answer posted from Sunil Nair
    SAPGUI iview from SAP Portal => create new session results in empty screen   
    Posted: Apr 25, 2007 6:00 PM    in response to: HANNES TOEFFERL       E-mail this message      Reply 
    Hi,
    Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
    In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
    Restart the portal for the change to take effect.
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.
    .... This works great!!!!

  • Stop to Create New Session.

        Hi Expert.
    Please help me,  We have create some Z module , For security Purchase we are create Z Logon Screen for Our Module.
    Now Problem : Here Some Time End user direct work without to Logon. There are create new session. 
    Required Solution : Stop to Create New Session Till User not Logon Successfully.
    Please refer below screen.....
    thanks.
    Pradip Patel.

    You said for security reasons you provided your users the possibility with another logon inside the SAP Logon? So there is another part of the applications that are accessed only when the user has the rights to work there? If so, shouldn't in-built roles assigned to the user be all that is necessary?
    You should not be trying to disallow the user to create another session - as the session itself does not grant to him / her any privilegues. It is just another place where the user can work. And it should be held like that.
    But maybe I did not catch your requirement - please provide more information about the Z-logon screen. What is it?

  • LR 4 & 4.1 can't create new folder manually during photo import

    Windows 64, i7, 12GB RAM
    I don't seem able to create a new folder manually on photo import.  This still works fine on the same PC with LR3.6.  Anyone else seeing this?  Thanks.

    I've sometimes found the 'Make New Folder' option to be a bit hit and miss on Win7....so I generally avoid it. In your case, wouldn't it be easier to have Lightroom create the folder for you by setting up your Destination panel as follows:
    Obviously the selected target parent folder in your case would be "Photos Working Folders", use "Organize: Into One Folder", tick the Into Subfolder box and enter the name of the sub-folder you want, e.g. raw0015. As you can see, if the sub-folder doesn't yet exist, Lightroom then shows you that it will be creating it for you.

  • How do I create new sessions in Firefox with no add ons ? Need not be logged in user sessions .

    Hi, From our integrated desktop application,We launch web applications .On using firefox to navigate to the webpage which is depending upon the context of the user's page opened,new session has to be created for each user.However I could not find the support parameters in about:config. FF version being used is FF 3.6 .No possibility to include external addons to support this feature.Is there a way to create multiple new sessions ?

    What do you mean by "multiple new sessions"?
    Firefox 31 is the current release version, Firefox 3.6 is over 2 years beyond being supported by Mozilla.

  • OCI Punchout - Standard Call Structure - Creates new session each request

    Hello all,
      I am having trouble with a customer attempting to do OCI Punchout with the Standard Call Structure.  I have other customers successfully punching out in this same system.  Here is a breakdown of what is happening.  Our catalog is a combination of classic ASP with VB6 Com objects
    1 - The user POSTs their call structure to our /ocilogin.asp page and we set a session variable after successfully log in
    2 - The user is then redirected to our /MainFrameLoad.asp page which houses our catalog.
    3 - The problem occurs here because the Session_OnStart method in the global.asa file is called again, which should not happen because session has already been established.  The logic in this method checks for the session variable created in /ocilogin.asp but it does not exist. 
    4 - It looks for a username/password via querystring and does another login, which then redirects them again to /MainFrameLoad.asp and the infinite loop begins.
    I'm convinced that their system is creating new unique requests each time which is causing the session variable to disappear.  I've tested their ability to accept cookies, which would also effect session variables, but that seems to be fine on their end. 
    My question is how can I tell if their system is properly handling cookies/requests?  I have plenty of example of people punching out with the exact same call structure, but its just their system that seems to have the issue.

    Hi,
    SRM 7.0 catalog integration differs from previous releases, the reliance on OCI 4.0 compliance is much stricter, please see the note [1287412 |https://service.sap.com/sap/support/notes/1287412]for more details on the required settings in the SRM system, perhaps let your customer also know about this note.
    Regards,
    Jason

  • Creating new Session

    Hi All,
    When I open one window in javascript using window.open it has the same session as the parent window.
    Is there any option I can make the new session for the new window.
    Thanks
    Vineet Bhatt

    If your app. server is set up to accept session id's to be carried in the URL, then supply an empty or incorrect value as the session id and the application server will react by issuing you a new session.

  • ORA-30014 When creating new database manually

    Greetings!
    OS : Windows XP
    Oracle Version : 10g
    I'm trying to install Peopelsoft Database into a newly created Oracle seed database, I have tested my seed database looging into SYS user.. it works with no issues.
    Im going through the Step by step instructions from the people soft installation document.
    Step #1
    Create Ini.ora for new DB. I named it as HDMO
    DB_NAME = HDMO
    DB_FILES = 1021
    OPEN_CURSORS = 1000
    db_block_size = 8192
    And placed it into database folder. C:\oracle\product\10.2.0\db_1\database
    Step #2
    Created ORACLE_SID Environemnt Variable. ORACLE_SID = HDMO
    Step #3
    Created Windows Service...
    oradim -new -sid HDMO -intpwd manager -startmode auto -pfile C:\oracle\product\10.2.0\db_1\database\inithdmo.ora
    Database service created succefully, and im able to start & stop activites without issues.
    Step #4
    Then manual creation of database as mentioned....
    REMARK startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
    CREATE DATABASE HDMO
    maxdatafiles 1021
    maxinstances 1
    maxlogfiles 8
    maxlogmembers 4
    CHARACTER SET WE8ISO8859P15
    NATIONAL CHARACTER SET UTF8
    DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\system01.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\hdmo\temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED UNDO TABLESPACE "PSUNDOTS" DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\psundots01.dbf' SIZE 300M REUSE
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\hdmo\redo01.log') SIZE 100M, GROUP 2 ('C:\oracle\product\10.2.0\oradata\hdmo\redo02.log') SIZE 100M,
    GROUP 3 ('C:\oracle\product\10.2.0\oradata\hdmo\redo03.log') SIZE 100M;
    Entered into SQLPLUS ' as / sysdba' from Command prompt...
    ran above script...
    Encountered the following error....
    ORA-30014 Operation only supported in Automatic Undo Management Mode
    I read some where found that I can get around with it, by adding... UNDO_MANAGEMENT = AUTO in my Inithdmo.ora file.. I did it..
    then it yield to diffrent error...
    After i login into SQL prompt.. first it says.. "*CONNECTED TO AN IDLE Instance*" then i ran my create database
    script... but it says...
    ORA-01034  ORacle Not available
    Can someone help me here....
    Thanks in advance....

    I tried with the following... Uncommented... (Previosuly it was REMARK ed)
    startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
    there was an error message ORA-01081 Cannot start already running Oracle - shut it down first.
    I stop the service and ran the script.. it says NOT CONNECTED to ORACLE.
    Is shutdown means stopping the service?

  • Create new records manually

    Dear friends
    I have 2 tables, the header has two columns "ID" and "Date" and both columns fill with
    database layer trigger and the detail has three columns "Id" and "HeaderID" and "RequestType"
    the "Id" column as like as header fill with trigger in database layer and "HeaderID" is related to the header table and "requestType" fill with Lov,
    Now let me know how can I manage this sample with one key for inset new record and for each header can insert more than one record.
    Thanks for your help.

    Hi
    Thanks a lot for your reply,
    At first I try your suggestion on my header table, then when I create the second record I get the "java.lang.NullPointerException" error!!!! why???
    Thanks

  • Tomcat application creates new session on page reload

    We have a tomcat application which works fine in IE7/8 and Firefox. The only browser we are having issues with (that we care about at this point) is google Chrome. Users can navigate to the application fine and log in and do whatever they need to do in Firefox and IE. However, when trying to log in with Chrome, the session is apparently lost immediately after log in and when the authenticated user tries to navigate to another page they are bumped back to the log in page. This happens consistently.
    I have seen other entries here and elsewhere that suggest that the context path might be to blame. I have tried setting a ProxyReverseCookiePath but that does not fix the problem.
    Our virtual host configuration is as follows:
    <VirtualHost xxx.xxx.xxx.xxx:80>
        ServerAdmin [email protected]
        ServerName subdomain.example.com
        DocumentRoot /var/www
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
        ProxyPass /context/ ajp://127.0.0.1:8009/context/
        ProxyPass / ajp://127.0.0.1:8009/context/
        #ProxyPassReverse /context/ http://127.0.0.1:8009/context/
        #ProxyPassReverse / http://127.0.0.1:8009/context/
        #ProxyPassReverseCookiePath /context/ /
    </VirtualHost>There is another application deployed on the same instance of tomcat at the ROOT context. I have looked at the JSESSIONID that is set in the cookie, which is sent back to Chrome and it changes on every request, while it does not for IE and Firefox.
    I am at a loss here. Any ideas are welcome!

    We have a tomcat application which works fine in IE7/8 and Firefox. The only browser we are having issues with (that we care about at this point) is google Chrome. Users can navigate to the application fine and log in and do whatever they need to do in Firefox and IE. However, when trying to log in with Chrome, the session is apparently lost immediately after log in and when the authenticated user tries to navigate to another page they are bumped back to the log in page. This happens consistently.
    I have seen other entries here and elsewhere that suggest that the context path might be to blame. I have tried setting a ProxyReverseCookiePath but that does not fix the problem.
    Our virtual host configuration is as follows:
    <VirtualHost xxx.xxx.xxx.xxx:80>
        ServerAdmin [email protected]
        ServerName subdomain.example.com
        DocumentRoot /var/www
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
        ProxyPass /context/ ajp://127.0.0.1:8009/context/
        ProxyPass / ajp://127.0.0.1:8009/context/
        #ProxyPassReverse /context/ http://127.0.0.1:8009/context/
        #ProxyPassReverse / http://127.0.0.1:8009/context/
        #ProxyPassReverseCookiePath /context/ /
    </VirtualHost>There is another application deployed on the same instance of tomcat at the ROOT context. I have looked at the JSESSIONID that is set in the cookie, which is sent back to Chrome and it changes on every request, while it does not for IE and Firefox.
    I am at a loss here. Any ideas are welcome!

Maybe you are looking for

  • How to get data into the mySQL database?

    First some background. I have a website that has outgrown its designed dimensions and is a huge burden to maintain. See PPBM5 Benchmark There is a lot of maintenance work involved, so I'm investigating a PHP/MySQL approach to easen the burden and to

  • ICal Shared Exchange Calendar Stopped Working

    I have been successfully accessing the Johns Hopkins Exchange servers for mail, address book, and calendar services on my Mac for months. In iCal I had also been accessing a shared Exchange calendar for many months. About 1-2 months ago, I lost acces

  • Problem with BAPI_ACC_PRIMARY_COSTS_POST

    I have to replace the BDC for KB11N with a BAPI. I have found this BAPI for my requirement. But the problem is that, i am not able to map all the fields in BAPI item table, which are passing in BDC. These fields are like Bukrs, Werks, Vkorg, Vtweg, S

  • Want Standard Reports like my reqirement

    Hi, According to user requirement, we have to make some reports. 1...Report of Material due to Which Inventory increased with the consumption trend of last three month 2...Report of Purchase in Last 6 Month & 3 Month but not consumed till date 3...Li

  • BizTalk Powershell Provider Mount remote BizTalk drive: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    I've been dabbling in the Powershell BizTalk Provider Extensions for some automation of deployment and such. So far it's pretty cool on a local machine, but the real benefits to me would be to do it remotely. Does anyone have any experience in the wi