Is it possible to get a unique session per browser window?

I'm playing with the idea that each browser window may have it's own unique session.
So, if I have two or more IE browsers open and I point each one at my web site, I want each window
to maintain their own session id. Same if I have two or more Firefox browsers open, etc ...
I see a sesion id is stored in the JSESSIONID cookie. It seems browsers of the same make share this cookie.
So, you cannot keep sessions separate. Is there a way to get around this?
Why do these sessions need to be shared across browser windows of the same make?

Oh! Unfortunately, cookiepie is not what I'm seeking.
How about managing the session without the JSESSIONID cookie?
Can't the session id be put in the url? Is that a security risk? Even for https?

Similar Messages

  • Getting a unique identifier per portlet (portlet id or something)

    I have a custom build ADF portlet in my webcenter space application.
    When i add 2 of these portlets (which are the same task flow) i need to identify them.
    Is their a way so i can get a unique identifier from the portlet so i can know which portlet is which? Is their for example an API so i can get the portlet ID or something like that?

    I think this http://forums.adobe.com/community/livecycle will help more so than this forumAdobe LiveCycle
    Gramps

  • How to get the current session details in windows phone 8 when using Facebook ,Google and Microsoft login

    I want to get the session details like access token , provider etc on a page (ExamplePage.xaml.cs) , i used the following example from nokia developers community (link)
     and implemented the login part but how can i get session details  so that i can send it to my API
    The SessionService class manages the session on facebook,google,microsoft login:
    /// <summary>
    /// The service session.
    /// </summary>
    public class SessionService : ISessionService
    private readonly IApplicationSettingsService _applicationSettings;
    private readonly IFacebookService _facebookService;
    private readonly IMicrosoftService _microsoftService;
    private readonly IGoogleService _googleService;
    private readonly ILogManager _logManager;
    /// <summary>
    /// Initializes a new instance of the <see cref="SessionService" /> class.
    /// </summary>
    /// <param name="applicationSettings">The application settings.</param>
    /// <param name="facebookService">The facebook service.</param>
    /// <param name="microsoftService">The microsoft service.</param>
    /// <param name="googleService">The google service.</param>
    /// <param name="logManager">The log manager.</param>
    public SessionService(IApplicationSettingsService applicationSettings,
    IFacebookService facebookService,
    IMicrosoftService microsoftService,
    IGoogleService googleService, ILogManager logManager)
    _applicationSettings = applicationSettings;
    _facebookService = facebookService;
    _microsoftService = microsoftService;
    _googleService = googleService;
    _logManager = logManager;
    /// <summary>
    /// Gets the session.
    /// </summary>
    /// <returns>The session object.</returns>
    public Session GetSession()
    var expiryValue = DateTime.MinValue;
    string expiryTicks = LoadEncryptedSettingValue("session_expiredate");
    if (!string.IsNullOrWhiteSpace(expiryTicks))
    long expiryTicksValue;
    if (long.TryParse(expiryTicks, out expiryTicksValue))
    expiryValue = new DateTime(expiryTicksValue);
    var session = new Session
    AccessToken = LoadEncryptedSettingValue("session_token"),
    Id = LoadEncryptedSettingValue("session_id"),
    ExpireDate = expiryValue,
    Provider = LoadEncryptedSettingValue("session_provider")
    _applicationSettings.Set(Constants.LoginToken, true);
    _applicationSettings.Save();
    return session;
    /// <summary>
    /// The save session.
    /// </summary>
    /// <param name="session">
    /// The session.
    /// </param>
    private void Save(Session session)
    SaveEncryptedSettingValue("session_token", session.AccessToken);
    SaveEncryptedSettingValue("session_id", session.Id);
    SaveEncryptedSettingValue("session_expiredate", session.ExpireDate.Ticks.ToString(CultureInfo.InvariantCulture));
    SaveEncryptedSettingValue("session_provider", session.Provider);
    _applicationSettings.Set(Constants.LoginToken, true);
    _applicationSettings.Save();
    /// <summary>
    /// The clean session.
    /// </summary>
    private void CleanSession()
    _applicationSettings.Reset("session_token");
    _applicationSettings.Reset("session_id");
    _applicationSettings.Reset("session_expiredate");
    _applicationSettings.Reset("session_provider");
    _applicationSettings.Reset(Constants.LoginToken);
    _applicationSettings.Save();
    /// <summary>
    /// The login async.
    /// </summary>
    /// <param name="provider">
    /// The provider.
    /// </param>
    /// <returns>
    /// The <see cref="Task"/> object.
    /// </returns>
    public async Task<bool> LoginAsync(string provider)
    Exception exception = null;
    try
    Session session = null;
    switch (provider)
    case Constants.FacebookProvider:
    session = await _facebookService.LoginAsync();
    break;
    case Constants.MicrosoftProvider:
    session = await _microsoftService.LoginAsync();
    break;
    case Constants.GoogleProvider:
    session = await _googleService.LoginAsync();
    break;
    if (session != null)
    Save(session);
    return true;
    catch (InvalidOperationException e)
    throw;
    catch (Exception ex)
    exception = ex;
    await _logManager.LogAsync(exception);
    return false;
    /// <summary>
    /// The logout.
    /// </summary>
    public async void Logout()
    Exception exception = null;
    try
    var session = GetSession();
    switch (session.Provider)
    case Constants.FacebookProvider:
    _facebookService.Logout();
    break;
    case Constants.MicrosoftProvider:
    _microsoftService.Logout();
    break;
    case Constants.GoogleProvider:
    _googleService.Logout();
    break;
    CleanSession();
    catch (Exception ex)
    exception = ex;
    if (exception != null)
    await _logManager.LogAsync(exception);
    /// <summary>
    /// Loads an encrypted setting value for a given key.
    /// </summary>
    /// <param name="key">
    /// The key to load.
    /// </param>
    /// <returns>
    /// The value of the key.
    /// </returns>
    private string LoadEncryptedSettingValue(string key)
    string value = null;
    var protectedBytes = _applicationSettings.Get<byte[]>(key);
    if (protectedBytes != null)
    byte[] valueBytes = ProtectedData.Unprotect(protectedBytes, null);
    value = Encoding.UTF8.GetString(valueBytes, 0, valueBytes.Length);
    return value;
    /// <summary>
    /// Saves a setting value against a given key, encrypted.
    /// </summary>
    /// <param name="key">
    /// The key to save against.
    /// </param>
    /// <param name="value">
    /// The value to save against.
    /// </param>
    /// <exception cref="System.ArgumentOutOfRangeException">
    /// The key or value provided is unexpected.
    /// </exception>
    private void SaveEncryptedSettingValue(string key, string value)
    if (!string.IsNullOrWhiteSpace(key) && !string.IsNullOrWhiteSpace(value))
    byte[] valueBytes = Encoding.UTF8.GetBytes(value);
    // Encrypt the value by using the Protect() method.
    byte[] protectedBytes = ProtectedData.Protect(valueBytes, null);
    _applicationSettings.Set(key, protectedBytes);
    _applicationSettings.Save();

    I need to get the session details in the following page AllEvents.xaml.cs  :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Navigation;
    using Microsoft.Phone.Controls;
    using Microsoft.Phone.Shell;
    using AuthenticationSample.WP80.ViewModel;
    using AuthenticationSample.WP80.Services.Model;
    using AuthenticationSample.WP80.Services;
    using AuthenticationSample.WP80.Resources;
    using System.Threading.Tasks;
    namespace AuthenticationSample.WP80.Views
    public partial class AllEvents : PhoneApplicationPage
    public AllEvents()
    InitializeComponent();
    MainViewModels FakeData = new MainViewModels();
    FakeData.LoadData();
    DataContext = FakeData;

  • Is it possible to get ReadWrite Mac HFS+ drivers for windows 7 so I can manage my Mac formatted Backups through windows bootcamp?

    Hello!
    I was just curious if there was a driver or something I can install so that I can read and write my mac OSX formatted [HFS+] external drives in Windows 7,
    using the windows file explorer [the equivalent for finder].
    This is essential for me because I need the windows explorer copy/file transfer dialog box with all it's options and functionality.
    Any suggestions relating either to windows bootcamp, or running windows through vmware fusion next to mountain lion [I would much prefer to be able to do this with VMWare Fusion, but either way is absolutely fine.]
    I need this because I need to do HEAPS of file management,  
    and I find finder's file transfer / copy dialog box to be totally inadequate, hopeless and almost useless, [a nightmare in fact] next to the excellent functionality of Windows 7 file transfer dialog.
    This has been my most hated issue with OSX for years now.
    File management is a total nightmare in OSX.
    I may make another post / feature request detailing my hatred of this lack of functionality, because it kills me every time I have to manage and backup large folders filled with lots of files and subfolders.
    Sorry for the end-rant.
    Thanks so much for any help! (:

    Hello Alberto and Woodmeister50,
    thank you for both your answers.
    I have to try and remember to state things I have tried previously or am aware of; my bad!
    Alberto:
    Thanks for your ideas.
    I'm aware of ex-fat format.
    Unfortunately, my external drives are quite full and a reformat or EXFAT partition is out of the question.
    I'm formatted them OSX extended journaled a couple of years back before I was aware of exfat.
    I could buy yet another drive, but I don't really want to do that until SSD's come down in price and expand in size.
    [also, while not a big issue, I hear EXFAT can't handle files bigger than 4gb. Not that I have many such files, so that's not really a big concern].
    So doing my file organization through windows explorer is, to my knowledge, the best option,
    if it is possible. [I hope!]
    This would be a perfectly satisfactory solution for me if I can use Windows Explorer through VMware to manage and organize the files and folder on my HFS+ external drives.
    I'm not sure if paragon HFS+ or Macdrive allow you to use windows explorer to manage files?
    Or only through their own file manager and dialogs?
    A costly gamble if they do not, and if their file/folder transfer dialog also happens to be inadequate.
    Woodmeister :
    Thanks.
    Actually, my problem is both HFS+ / windows compatibility AND that I hate finder
    [the HFS problem being a result of the fact I hate finder]
    I have tried Pathfinder [the demo version though, maybe it has limited functionality],
    and I have found it's file transfer dialog / options / functionality to be very totally lacking as well.
    Others I have tried.
    Mac Explorer.
    MoveAddict doesn't seem to work for me presently, although I hear it might be good.
    Total finder is fantastic for other reasons but does nothing for the copy dialog.
    Um.... there were a bunch of others I tried, but all no good.
    So I guess my question is still the same, with a bit more specific information now
    For a very in-depth review/analysis of the hatred of finder's lack of features in this area,
    there are many threads on many forums, such as can be found if you google for the thread on this forum
    GOOGLE : MacRumors OS X: how to merge folder contents, not replace
    Please ignore the fact that some ex-windows people are just not used to the fact that "replace" in finder means to replace a whole folder, as this is not the issue.
    The lack of functionality is, and there are many pages of mac-loving people complaining about it.

  • Get system unique id

    Hi All,
    Is it possible to get system unique id (mac or pc any) with indesign javascript.
    Any information would be greatly appreciated.
    Shonky

    Hi Shonky,
    I thnink there is no id for the Application.
    Instead yu can declare Label to application.
    Eg: For 10 systems you can declare Sys1, Sys2,...Sys10.
    Code: app.label = "Sys1";
    Regards,
    Ramkumar .P

  • Getting Cookie in browser window instead of page (Custom Auth)

    Hi,
    I'm getting the following in the browser window instead of the application page.
    Set-Cookie: WWV_CUSTOM-F_4074120727485002_2057=17402F9E2F6BBDF1; HttpOnly
    Location: f?p=2057:1750:103737182614568
    Content-length: 25
    Location: f?p=2057:1750
    I'm using code from: [this tread|https://forums.oracle.com/forums/thread.jspa?threadID=2190458]
    It works in test but not in production. Could this be because of https in production?
    I'm on Apex 4.1.0.00.32 with the patch for bug 13045147
    I make the following call https://my.machine.edu:port/apex/apex_apps.ku_security_pkg.doinitapex?pusername=wcole&pstartpage=1750&pstartapp=2057
    Thanks
    Wayne
    actually code is
    Procedure Initapexfromoutside
    ( I_App_Id In number
    , I_Page_Id In Number
    , I_Apex_User In Varchar2
    Is
    V_Cgivar_Name Owa.Vc_Arr;
    V_Cgivar_Val Owa.Vc_Arr;
    V_Workspace_Id Number;
    v_app_id number;
    Begin
    -- set up cgi environment
    Htp.Init;
    V_Cgivar_Name(1) := 'REQUEST_PROTOCOL';
    V_Cgivar_Val(1) := 'HTTP';
    Owa.Init_Cgi_Env
    ( Num_Params => V_Cgivar_Name.Count
    , Param_Name => V_Cgivar_Name
    , Param_Val => V_Cgivar_Val
    -- load apex IDs by application name
    Select Workspace_Id
    Into V_Workspace_Id
    From Apex_Applications
    Where Application_Id=I_App_Id;
    -- set up apex workspace
    Wwv_Flow_Api.Set_Security_Group_Id(V_Workspace_Id);
    -- set up apex session vars
    Apex_Application.G_Instance := Wwv_Flow_Custom_Auth.Get_Next_Session_Id;
    -- Apex_Application.G_Instance := 1;
    apex_application.g_flow_id := i_app_id;
    Apex_Application.G_Flow_Step_Id := I_Page_Id;
    -- "login"
    Apex_Custom_Auth.Define_User_Session
    (P_User => I_Apex_User
    ,P_Session_Id => Apex_Application.G_Instance
    Wwv_Flow_Custom_Auth_Std.Post_Login
    (P_Uname => Upper(I_Apex_User)
    ,P_Session_Id => Apex_Application.G_Instance
    ,P_Flow_Page => Apex_Application.G_Flow_Id
    || ':'
    || Apex_Application.G_Flow_Step_Id
    end initApexFromOutside;
    Procedure Doinitapex
    Pusername In Varchar2
    ,Pstartpage In Varchar2
    ,pstartapp in varchar2
    Is
    Begin
    -- If V('APP_ID') Is Null
    -- Then
    -- init apex environment
    Initapexfromoutside
    (I_App_Id => to_number(pstartapp)
    ,I_Page_Id => to_number(pstartpage)
    ,I_Apex_User => Pusername
    -- call show once because it sets additional internal apex parameters
    /* Apex_Application.Show
    (P_Flow_Id => Apex_Application.G_Flow_Id
    ,P_Flow_Step_Id => Apex_Application.G_Flow_Step_Id
    ,P_Instance => Apex_Application.G_Instance
    -- show re-sets other parmeters at the end. have to init again...
    /* Initapexfromoutside
    (I_App_Id => 2057
    ,I_Page_Id => 1750
    ,I_Apex_User => Pusername
    Owa_Util.Redirect_Url('f?p='||pstartapp||':'||pstartpage );
    -- end if;
    End Doinitapex;
    Edited by: wcoleku on Dec 6, 2011 4:34 PM
    Edited by: wcoleku on Dec 6, 2011 4:42 PM

    "Upgraded" meaning in this case that - when you log on through that pop-up - SSO between the different Oracle sites doesn't work anymore (OTN, metalink,mix etc.). Almost like a M$ upgrade ;-)

  • Unique Session ID in XSLT

    Hello SND-ers,
    Iu2019m having a little difficulty figuring out how to obtain the GUID or another unique session ID to place in field u2018SeqNumu2019.  This XSLT creates a custom soap envelope around a payload and Iu2019m using this in an operation mapping in PI 7.1.  I need to place a unique session ID in that u2018SeqNumu2019 field, but havenu2019t figured out how to do this yet.  I didnu2019t know if there was a specific PI namespace that I could reference similar to the date/time example in the code below.  Any help or guidance would be very much appreciated.  Iu2019ve only included the top portion of the code to be clear in my request.
    <xsl:stylesheet version="2.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:wsa="http://www.w3.org/2005/08/addressing"
    xmlns:date="http://exslt.org/dates-and-times">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
         <xsl:variable name="Date" select="date:date()"/>
         <xsl:variable name="Time" select="date:time()"/>
    <!unique id for the session - this can be the existing session id or guid>
         <xsl:param name="SeqNum" select=u201D<requestedvalue>u201D/>
    I tried finding a reference library of some sort that may contain this information, but so far have been unsuccessful.
    Thanks,
    Jason
    ps - as another side request, is it possible to pull the hostname or MAC address of the server to place that in the XSL as a dynamic value?
    Edited by: Jason Ray on Aug 14, 2009 5:53 PM

    >
    Prateek Raj Srivastava wrote:
    > Have you also added the following statements?
    >
    xmlns:map="java:java.util.Map"
    > <xsl:param name="inputparam"/>
    > and
    > <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')" />
    >
    > Regards,
    > Prateek
    i have not added that code because i do not wish to pull in the payload of the message quite yet.  i'm creating a wrapper for it in the XSLT instead.  I'm interested in the GUID or the message ID and placing that value in a field in the XSLT.  I hope this makes sense.  Below at the bottom i've included more of the message to show what i'm trying to do.
    >
    Russell Darr wrote:
    > These runtime constants can be accessed using the sample xslt below:
    > http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    >
    > <?xml version = "1.0" encoding = "utf-8"?>
    > <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    >
    >   <xsl:param name="MessageId"/>
    >
    >   <xsl:template match="/">
    >      <msgguid>
    >        <xsl:value-of select="$MessageId"/>
    >      </msgguid>
    >   </xsl:template>
    >
    > </xsl:stylesheet>
    >
    > Regarding getting the MAC, I would create a small java class and call it as a function.  Might as well do the same to get the host name.  You can try to get it from a system property if you find one which will work.  For example:
    >
    >             <user>
    >                <xsl:value-of select="system-property('user.name')"/>
    >             </user>
    >
    >
    > Thanks,
    > -Russ
    This is more along the lines of what i'm trying to do.  I saw the runtime constants before and i do believe that the MessageId is what i need.  The issue is that when i add in the syntax from the example it fails stating that the stylesheet cannot be compiled.  Below is the code after I removed the sensitive information and cut a lot of the unnecessary code to simplify:
    I feel I need to add a namespace for the MessageId declaration, similar to how Iu2019ve declared the u2018dateu2019 namespace and referenced functions for the date and time.  Is this true, or is that not needed?
    Iu2019ll also see if I can figure out how to incorporate a small java class for the retrieval of the hostname and MAC.  For now Iu2019ll be sending a static value since the required field just wants a unique ID for the source system.
    Edited by: Jason Ray on Aug 19, 2009 5:46 PM

  • Get a insert session value for SQL query at report

    Hi friends
    I created a global temp table and procedure to support web search form.
    and a search result report. The procudure
    gets search result from multip tables and
    insert into temp table --recordsearch. I can get value from temp table  by call procedure
    at SQL*Plus.
    However, I can not get this value by web report.
    How can I get this insert session value and pass to SQL query for report?
    Thanks,
    Newweb
    CREATE GLOBAL TEMPORARY TABLE recordsearch
    (emp_id          VARCHAR2(200),
    ssn               VARCHAR2(9),
    fname          VARCHAR2(200),
    lname           VARCHAR2(200),
    m_name          VARCHAR2(200)
    ) ON COMMIT PRESERVE ROWS;

    it possible that your web form does not have a persistent, dedicated connection. if you have connection pooling for example, multiple sessions will see the same instance of the GTT, so if one deletes it, then nobody sees it (or you can see others data). if the connections are not persistent, then they can disconnect between calls, deleting the GTT table.

  • Is it possible to get view in RULES

    Hi.
    Is it possible to get userView in rules.If any one come across this please post piece of code..
    Thanks in Advance
    Yash

    Try something like this:
    <br><br>
    <set name='user'>
    <rule name='checkoutUserView'>
    <argument name='accountId' value='$(accountId)' />
    </rule>
    </set>
    <br><br>
    <Rule name='checkoutUserView' authType='EndUserRule'>
    <RuleArgument name='accountId' />
    <block>
    <defvar name='viewMaster' />
    <set name='viewMaster'>
    <new class='com.waveset.session.ViewMaster'>
    <invoke name='getLighthouseContext'>
    <ref>WF_CONTEXT</ref>
    <ref>accountId</ref>
    </invoke>
    </new>
    </set>
    <invoke name='setAuthorized'>
    <ref>viewMaster</ref>
    <invoke name='getBoolean' class='java.lang.Boolean'>
    <s>true</s>
    </invoke>
    </invoke>
    <invoke name='checkoutView'>
    <ref>viewMaster</ref>
    <concat>
    <s>User:</s>
    <ref>accountId</ref>
    </concat>
    </invoke>
    </block>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' name='All'/>
    </MemberObjectGroups>
    </Rule>
    <br><br>
    In order to access the user object using dot notation you may need to call this piece of code (not sure if necessary if the variable being used is defined in the task definition):
    <br><br>
    <invoke name='setVariable'>
    <ref>WF_CONTEXT</ref>
    <s>user</s>
    <ref>user</ref>
    </invoke>

  • How to get the Stateful Session bean instance in the second call

    Hi,
    I am new to EJBs. I have made a Stateful session bean on the first jsp page. In this page i am setting certain member variables of the EJB. Now in the second page i want to get these stored values in the EJB.
    In the second page do I...
    1. Store the instance of Remote Interface in the Session Context of the first JSP page and then in the second page get the Remote interface stored in its session context and call the business functions to get the values. If this is the case then what do u mean by Stateful Session beans??
    P.S.- This works fine.
    2. Try to get the Remote interface of that particular instance of the EJB(in which the values were stored) and call its business functions. IF this is possible. How do i do it??
    thanks in advance
    Anurag

    Hi,
    thanks for information. But i have one question. In a stateful session bean why do we have to store the Remote Interface on the client side.
    I expected in the second jsp page when i do a lookup or create, the container/server should find out whether there is a session bean already created for this session if yes, then return that particular instance of the session bean else create a new one.
    If this is not a possible case then a stateful session bean is nuthing but an instance of an object in the EJB container which does not get destroyed unless there is a time out or the remove method is called. It has nuthing to do with session because throughout the session I have to store the remote interface in the session context of the client( the client here means the jsp).
    thanks in advance
    Anurag

  • Unique session key  weblogic portal 9.2

    Hi,
    Is there a way I can generate unique session key to ensure correct session is tracking between every desktop with different user.
    Is this right way to handle session in weblogic portal 9.2?

    Hi
    what exactly do you want to do? A session does have an id which is guaranteed unique while the server is running (you dont need to do anything special for this). HttpSession.getId.
    Note However normally this value gets stored as a cookie on the browser (with the default name of JSESSIONID) and you must ensure that different webapps on the same domain dont overwrite this value
    regards
    deepak

  • Any possibility of getting records have been updated by another user

    is there any possibility of getting the error
    --records have been updated by another user.please requery to see the changes.
    i am getting this error when no other user connected to same data base and only one session is opened.
    i am getting this error under below case.
    there are 3 fields in a multiple record block.
    field 1 will have the total amount.in field 2 i user can enter the percentage.and field 3 will be populated
    as field 1 * field 2 /100. if user changes field 3 it back update the field 2 as field3 * 100/field 1.
    there is a POST in when-new-record-instance.
    the above error comes when i navigate to second record
    and try to come bk and change the values in 1st record.
    if any one faced this problem or have any idea of it
    please let me know.

    thank u all
    the round option solved my problem. But still i am not clear with why it is giving when i am in the same session. Is there any link where i can get more info. on this perticular issue.steve i am not fully convinced with what u have said. can u give more details on this.
    once again i thank u all.

  • Is it possible to connect database using session bean

    Dear all,
    Is it possible to connect database using session bean without using entity beans like cmp,bmp.
    if ur answer is yes, then pls tell me where to put the select statement and transaction attribute like(6 types).
    if u have sample code, then it is good for me.
    Hope I will get answer.

    Sure it is.
    Try something like this (and maybe get a book on JDBC):
    String name;
    try {
         InitialContext ic = new InitialContext();
         DataSource ds = (DataSource) ic.lookup(Constants.MY_DATASOURCE);
         Connection connection = ds.getConnection();
         String sql = "SELECT * FROM TABLE";
         PreparedStatement statement = connection.prepareStatement(sql);
         ResultSet rs = statement.executeQuery();
         while (rs.next()) {
              name = rs.getString("NAME");
         if (rs != null)
              rs.close();
         if (statement != null)
              statement.close();
         if (connection != null)
              connection.close();
    catch (NamingException e) {
         // Can't get JDBC datasource
         // ... do something with this exception
    catch (SQLException e) {
         // SQL exception from getter
         // .... do seomthing with this one too
    }

  • Is it possible to get the line, an error occure on MobiLink upload (handle_error)

    Is it possible to idendify the row of upload set, in which an error occured (given it's not a general fail of query), solve the error and continue?
    In my current example I'm getting a unique key exception on upload I'd like to handle with some automatism.
    Alternative: Waht's the best way to find such an error before trying applying data?

    Frank Lanitz
    Not sure but the best way to trace an issue to analyze server logs.
    You can set log level for "mobilink"  in SCC as "debug". (Server>settings>change log level) But again,
    Keeping high level for logs may reduce app performance hence not recommended for production.
    Rgrds,
    Jitendra

  • Is it possible to get the value of variable through answers page ?

    Hi all,
    I had Dynamic variable ETLRundate . I want use this variable in Answers page to see the out put ?
    Is it possible to get the value of variable through answers page ?if so how I can use ?

    Hi
    Use the link below and download the documentation
    http://www.oracle.com/technology/documentation/bi_ee.html
    I think you will find what you are looking for in the Answers, Delivers, and Interactive Dashboards User Guide, but in short the syntax to display a variable value is as follows:
    As shown above the syntax for using a presentation variable is:
    @{variablename}{defaultvalue}
    For Session variables use:
    @{biServer.variables['NQ_SESSION.variablename']}
    For repository variables use:
    @{biServer.variables['variablename']}
    Rgds
    Ed

Maybe you are looking for

  • Unable to Print From from Web-Based Sites, Error Occurred in script.

    When I try to print, I keep getting an error from a script running too long when I try to print anything web-based. I can print documents on my computer wirelessly, but not web-based (i.e.., financial statements). What is causing these errors from we

  • BI Java SDK in BI 7.0: Read Time out when executing MDX Statements

    Hi all, we´ve implemented some functions with the BI JAVA SDK which gets informations out of our BI via the SOAP / XMLA  Service. For some Queries this is not working and the following exception occurs on Java Side: --- snip ---      Caused by: java.

  • Using Oracle Hints in Selects......

    Hello, Are there any after effects/side effects by using Oracle Hints in a SQL select ??? (hints such as Cache, NOCache, all_rows) Can anyone let me know whether there are any good documentation or site on Oracel SQL hints.. thanks Kanchi

  • Terminology differences between MSSQL 2005/2008 and Oracle 11g

    I'm looking for some articles/books/webinars/blogs which discuss the terminology differences between MSSQL 2005/2008 and Oracle 11g in terms of database concepts. I have found this article http://www.sqlservercentral.com/articles/SQL+Server/67007 so

  • Compare values in a Column.

    Hi, I have an requirement like below and would like to have SQL for that. Source Table:+ EMP_NO     EMP_CODE 1          'A' 1          'D' 1          'E' 1          'F' 2          'S' 2          'A' 2          'W' 2          'Q' 3          'A' 3