Copy URL same session exist

When I copy the URL in a new browser the same session exist.I want that when I copy the URL the session must be destroyed and a new session will be created.
Kindly help me out.Thanks in advance

A new session will only be created if you create a completely new instance of your browser.
To achieve your requirement you might consider to write a filter which checks the referrer and if this is null or empty, then destroy the session. But this will also affect users who have disabled sending of the referrer along the headers to the server.

Similar Messages

  • How to validate multiple lines which is exist in the form builder at the same session

    Hi All,
    we are working on oracle Forms personalization to trigger the message at the point of saving multiple lines rather than requiring each line to be save individually. Currently the oracle form is allowing to user to enter two distinct lines that have same resource and basis type in BOM.
    Currently the Oracle form is allowing to enter the duplicate combination and not giving any error message even we enter the same combination of data.
    As per the customer requirement, they don’t want to validate the data while creating the records but when they try to save the form, in that case it should validate all the records at a time then need to display the appropriate message.
    Customer don’t want to customize the Oracle standard form. Here we have only option to use form personalization or through custom.pll.
    Any idea on how to validate multiple lines which is exist in the form builder at the same session as before inserting the record itself need to perform the validations for all the records.
    Thanks for your help in this regard.
    Regards,
    Thirupathi

    you can write a post script which will do the necessary tasks.
    I mean, once you are done with inserting records into these tables, exeute another procedure which will insert these "extra" records, based on some logic.
    you may not be able use DB trigger as it may generate mutating error or if you don't write it carefully, it will go into recursive loops as you are refering to same tables.
    HTH

  • How to protect application from being run by 2 browser with same session ?

    Hi all,
    As we know, in Firefox, if we open two browser windows or tabs it will share same session. In IE, it does the same thing if we open two tabs in same window.
    The impact is user can open the application twice (or more) yet share the same session. This will result in unwanted behaviour in our application.
    (ADF Faces 10.1.3.3 + BC)
    Is there aniway for us to disable user from opening the same application in the second Tab (IE) or second Browser window (Firefox),
    eg :
    - to invalidate the session at all
    - or any other way ?
    Thank you for any help,
    xtanto

    Taken from the release notes:
    Ctrl+N support The application user may experience incorrect behavior if they use Ctrl+N to open a new window from their application, press the refresh button on their browser toolbar (i.e. F5), copy and paste a URL for an
    ADF Faces app fromone window to another, or use the ADF Faces dialog framework to open new browser windows. If these usecases are critical to you, please set the following context parameter in your web.xml file.
    We expect to support the Ctrl+N use cases by default in a future release.
    <context-param>
    <param-name>oracle.adf.view.rich.newWindowDetect.OPTIONS</param-name>
    <param-value>on</param-value>
    </context-param>Anyone knows how this works and what happens when the user actually presses CTRL-N while the detection is on?
    Sascha

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • How to share the same session between JNLP Application and browser session

    How to share the same session between JNLP Application and browser session using BasicService.showDocument(url) method? It appears whenever i launch any URL from within a JNLP application using BasicService.showDocument(url) , it creates new instance of browser and session even after i used cooke handlers to restore JSESSIONID and Ltpa token etc.
    public static int showDocument(String urlToOpen)
    BasicService obj = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
    obj.showDocument(urlToOpen);
    }

    Try using Reflection

  • How to call a custom transaction in retailstore which runs in same session?

    Hey guys,
    hope you can give me some hints. OK, i have a resultlist and it should be possible to call a SAPGui transaction via webgui service. This works fine but the link which i created has no info about the current session ID. I build an URL with the function modul ITS_GET_URL and concatenate it with the neccessary transaction code and parameter. Then i call this URL by function ITS_BROWSER_WINDOW_OPEN. A new browser window is opened with the right transaction in webgui. But if i hit the button back, i get the message, i was succesfully logged off. This wasn't the result which i want.
    What i want is to call the transaction via webgui and this transaction should run in same window and in same session. Any idea how to do that?
    I know i need to build an URL with a valid session ID for the transaction, but how can i do that?
       thx,
          Wei-Ming

    Hello Sal.
    This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
    You might try window.open("http://xxx...me23n","_self").
    Best regards,
    Frank.

  • Resolving the problem of same session id for more than one client

    Hello
    My web application developed in jsp is facing problem with the same session id given for 2 different clients.
    Here iam storing the user id and session id in a hashtable based on which further request are processed.
    Could u please suggest how to resolve this problem so that each client have different session id.
    -Regards
    Lakshmi

    define "2 different clients"
    1) You have 2 different PCs and it's using the same session ID for both? I doubt this. I think the server is advanced enough not to use give a session ID that's already been created.
    2) You have 1 PC and are using IE or Netscape and using File > New Window to open a new window and connect again. This you can't fix without using only URL rewriting to manage session, because the different windows will share the same session cookies.

  • Safari copy url button doesn't work

    I just upgraded from an ipad2 to an iPad air 2. Before, if I wanted to copy and paste a url I'd use the copy button. Now,on the new iPad air 2, the copy button just wipes out whatever I've previously copied, and doesn't copy the url.

    You tap and hold down in the URL field until you get the option to select all. Then you choose the option to select all. An option to Copy appears and you select that and then you should be able to paste that URL into a text field.
    Safari copy url button doesn't work
    I Realize that you must know the steps but I am just double checking. If that is not working for you, and you are not having copy and paste issues elsewhere in other apps, I would try clearing Safari, force close it and then reset your iPad.
    Go to Settings>Safari>Clear History and Website Data
    Now force close Safari. In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Next, reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How do I force firefox to open a new URl on the current viewed tab or a new one. It opnes the URl on an existing Non viewed tab

    I have tried all the tab option and can not get Firefox to act like it did on the previous version. Firefox does not display the new url in the existing open tab or a new tab. Since installing the update, it opens the url in an existing backgound tab.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

  • Simulate Multiple users connecting to same session

    Hi All,
    Is there anyway we can simulate multiple users connecting to the same session in oracle using PL/SQL.
    Thanks,
    MK.

    As per the architects in our company, lots of users connect to the same session and access the database.Exactly what does this mean? A single session can service one user at a time. I would wager that the architects are envisioning (or describing) a connection pooling setup where the middle tier server maintains a relatively small number of connections to the database (each with its own session most likely) and users operate by getting a connection from the pool, making a request, and returning the connection back to the pool. At any given point, only one user can be using a connection.
    If that's the case, you would simulate this by simply executing code in a loop in PL/SQL.
    Of course, if this is the case, each connection in the connection pool would its own copy of the collection and so each connection would get its own list of order numbers. You'd have to develop some way to ensure that each session populated its collection with a different set of order numbers.
    Justin

  • Same session id in two different server ?

    We use the following configuration: Proxy-->Webserver-->Applicationserver.
              All servers are using WLS 5.1.
              We need to store client information in a http session in both the webserver
              AND the applicationserver ?
              How, if at all, can we do this ? Normally, if we create a session in the
              application server, it creates a new session id and makes
              the session form the webserver invalid. Can you reuse an already existing
              session id from a request (the request was forwarded from the webserver to
              the application server) to create a new session ?
              - Falk
              

    ...which I logged into my http://apex.oracle.com workspace, ran the same application in each browser and got the same Session Id in both.
    What causes this?
    If you login to the development environment in multiple browsers windows that share the same OS process for the browser, you can maintain separate session IDs in each window for the development tools, e.g., the Builder, as long as you don't run an application using a Run Page or Run Application link and then jump back to the development tools using the developer toolbar links. Those links will send you into the Builder using the session ID allocated to the last browser window you opened in which you authenticated to the development environment.
    Scott

  • Same session in diffrent browser tab problem

    Hello;
    I am having a problem (might be browsers claim it a feature) that my application shares the same session if I use to access it from different tabs of a browser.
    I have googled but could not find out any work around for it.
    I want to restrict the user if he wants to access my application from another tab. Server identifies the user by session cookie generated by browser itself which kept same in all tabs. So is there any programmatic way that I be able to handle this situation. I want to catch the user at Filter level and redirect to a message page.
    Your comments...
    -Tahir
    Edited by: tahirakram on Jul 3, 2008 10:54 AM

    tahirakram wrote:
    Karanjit wrote:
    a) While displaying login page, check if the user has already logged in. If so, redirect the page to one that gets displayed when user successfully logs on avoiding mutiple logins.
    b) In login authenication process, add a logic to check whether another user has already logged in and display so in the screen.Dear Karanjit;If user want to make multiple logins by opening multiple ie browsers. Then in this case every time session id will be unique and I have no problem with this case.
    My issue is to implement such logic from where I can generate seprate session id from every tab/or landing user to a message page. <session id same in all tabs of a browser window>
    As I disussed above there is a solution in ASP.net aka sessionless cookies [http://msdn.microsoft.com/en-us/library/aa479314.aspx#cookieless_topic2|http://msdn.microsoft.com/en-us/library/aa479314.aspx#cookieless_topic2]
    You mean cookieless sessions. Cookieless sessions are not what you are asking. You can do the same here by setting the <Context> elements cookie attribute to false, and making sure you pass all URLs through response.encodeURL(String).
    This doesn't help your cause, though, because if a user presses a link on your page with the CTRL key down, a new tab opens with the same session tracking info. Or if the user copies the URL in one tab and pastes it into another tab you get the same session in multiple tabs.
    >
    Now the question is, How can I achieve sessionless cookies in java? And the approach will work same as ASP.net works.The approach that you point to does not address the issue at all. In fact it makes it easier to use the same session in multiple windows, not just multiple tabs.
    >
    thanks

  • Getting two differents UrlConnection.inputStream() over the same Session

    I need to access two diferents webservices by GET method but to access the second one the session created by the first must be alive. Till now, I got something like the following code but this code doesn�t let session keep alive. I would like to advise that I cannot use web tools like servlets to manage this =/
    DocumentBuilderFactory dbf;  
       DocumentBuilder docBuilder;  
       public ClasseXML(){  
          dbf = DocumentBuilderFactory.newInstance();  
          try {  
             docBuilder = dbf.newDocumentBuilder();  
          } catch (ParserConfigurationException e) {  
             alerta("Parsing error: "+e.getMessage());  
       public void request1(String params) {  
          try{     
             String url = myHost+"/"+params;  
             Document doc = docBuilder.parse( new URL(url).openStream() );  
       public void request2(String params) {  
          try{  
             String url = myHost+"/"+params;  
             System.out.println( url );  
             Document doc = docBuilder.parse( new URL(url).openStream() );  
    ...  

    So you are connecting to Server X, and you want to send two web service requests to that server? And you want the server to process both requests in the same session?
    If that's what you mean, then you have to do whatever the server wants you to do to maintain the session. Often servers send a cookie to the client and require it to be sent back to maintain a session, but that's not the only way. Your first step is to find out how the server is maintaining the session. If there's no published information about that, and you have nobody to ask, then you would have to reverse engineer the requests and responses in a normal session.
    Then you would have to write your code to send the same requests and handle the responses accordingly.

  • How can I get the same session with jdbc?

    HI
    After I create or use a JDBC connection,
    i do a query.
    How can I get the same session next time?
    thanks a lot!

    Hi qin,
    Unless I have misunderstood your question, a 'connection' and a 'session' are the same thing. When you obtain a database connection, you have created a database session. Once you close that connection, the session dies -- it no longer exists. You cannot obtain the same 'session' when you get another database 'connection' (after you closed the first one).
    Hope this answers your question.
    Good Luck,
    Avi.

  • How to track the same session using both jsp and servlets

    Hello, guys:
    "how to use jsp and servlet to track the same session",
    it seems to me my logoff.jsp never realize the session I established in my servlets.
    Here is how I set my session in my servlets:
    "     HttpSession session = req.getSession(true);
    session.setAttribute("userid",suserid);"
    Here is how I invalidate my session in my logoff.jsp
    " <%@ page language= "java" %>
    <%@ page import="javax.servlet.http.HttpSession" %>
    <%@ page session="false"%>
    Our Session id is : <%= session.getId() %>
    <% session.removeAttribute("userid");
    session.invalidate();
    %>
    Our Session id is : <%= session.getId() %>"
    but when I try to logoff using the logoff.jsp
    I always get following error message.
    "/home/jiao/jsp_webserver/tomcat/work/Standalone/localhost/syllabus/htmls/logoff_jsp.java:50: cannot resolve symbol
    symbol : variable session
    location: class org.apache.jsp.logoff_jsp
    out.print( session.getId() );"
    T.I.A.
    [Edited by: jiveadmin on Jun 18, 2003 10:32 AM]
    [Edited by: jiveadmin on Jun 18, 2003 10:33 AM]

    So,
    <%@ page session="false"%>
    That means the jsp never instantiates the build in session object.
    <%@ page session="true"%>
    means jsp will instantiates a session object if there are no existing ones
    how about I just delete the line,
    does that mean the jsp will find the existing session object for me?
    So I can do something like
    Our Session id is : <%= session.getId() %>
    <% session.removeAttribute("userid");
    session.invalidate();
    %>
    directly.
    T.I.A.

Maybe you are looking for

  • Why is my search bar not working?

    I'm running Firefox 8.0 on Windows 7. Recently, my search bar (the one with Google, YouTube, Amazon, etc.) has stopped working: if I enter a search string, it does not load a results page, it just spins and says "Connecting..." forever - this happens

  • I cant write a review in itunes store

    Why suddenly i cant write any review on any app i downloaded?it says i need to download the app before i can make a review even if i downloaded the app over and over again, cant find any solution

  • Migrating linux accounts to OS X 10.5

    Hello, Usually on any Linux/Unix-like OS I would simply copy necessary entries in passwd, group, shadow, etc.. and simply add them to their respective files on the new box. What's the best way to migrate user accounts from a *nix box to OS X? The has

  • Photoshop Activation Question

    Hi, Sorry in advance if this has been asked before... I think the EULA for CS3 allows for installing CS3 on 2 machines as long as the 2 installations of CS3 aren't being used at the same time. When I go to install it on my 2nd PC, when it comes to Ac

  • VideoSampleAccess

    Adobe Air 1.0 application displays an rtmp mp4 stream from FMS3. I'm trying to capture a frame of video with BitmapData.draw and get a security sandbox violoation. I have added <VideoSampleAccess enabled=true>/</VideoSampleAccess> to my Application.x