Why do we need  a session

in bdc session method we create a session by bdc_open_group , i want to know the exact functionality in creating this session .we procees this session in t code sm35.we r processing means it is updating the database,is that right.
  thank u in advance......

hi,
if you have to write something on to the file ...first step will be opening.
so in session method also first open the session using function module
BDC_OPEN_GROUP.
Data is transferred to session by BDC_insert.
this function creates the session through the program.
remember session is an intermediated step between internal table and database table. Data along with its action is stored in session ie data for screen fields,to which screen it is passes,the program name,and how the next screen is processed.
unless session is processed, the data is not transfered to database table.
BDC_ClOSE_GROUP.

Similar Messages

  • Why do I need my session password to copy file to my External HD

    hi,
    When I copy a file from drive 1 to drive 2, system ask me my session password.
    When I want to delete a folder from drive 2, either.
    I took few actions before that behavior that may concern :
    The  drive 2 used to be my boot drive. I swapped it with drive 1. then I restore my whole système to drive 1 from a third drive backup (Time Machine)
    For test purpose, I install a Mac OS on drive 2 then deleted it (put it to trash). An empty System folder (with only an empty startup sub-folder) is always recreated on this drive 2...
    I just want to use this drive 2 as a data drive.
    I would like to get ride of this System folder and also this kind of "copy/delete password".
    How could I remove this kind of protection on drive 2 ?
    Thanks

    Thanks for your suggestion,
    format/erase is not an option ; I already stored gigabit of data on disc 2 and I am unable to temporally move those files...
    Permission (cmd -I) are note exactly the same :
    disk 1 : System, admin and everyone
    disk 2 : System, wheel and everyone
    I clicked the + button and add administrator group with read/write permission.
    Now it's ok
    Thanks Eric !

  • Why is serial# needed for unique session info

    hello everybody,
    as you know, a session is unique with 2 fields, SID and SERIAL# which exist on v$session view.
    my question is why is serial# needed and for which case serial# is changing.
    now, you can say that, "only oracle developers know this, that is the design" but what i mean is, for ex: if i wanted to find a session which is blocked by another session, I use this:
    select * from v$session where blocking_session is not null;in blocking_Session field, oracle gives me the session id (SID) which is blocking a session. so i can use this SID and i can kill it for instance but SID is not unique for a session I can find more than one session with same SID which one is the blocking one ?
    in real life i didnt see an example of that, there is no same sid in system like my blocking session example. so I believe that serial# is assigning for another purpose, I mean, i thougth that it could be for autonomous transaction, maybe they user same sid but differen serial# but when i tested it, i saw that i was wrong.
    so, why serial# is exists. if this is a design issue, how can i find a blocking session by just using SID info ?
    thanks a lot.

    Not surprisingly, an explanation may already be found in the documentation (and copied in Rene's reply above):
    See http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm (column description).
    Or search:
    http://www.oracle.com/pls/db112/search?word=sid+serial%23&partno=
    Besides for terminating sessions, serial# may be relevant when e.g. tracing sessions (SQL Trace).
    Not sure what type of example you were looking for, but I came up with this in about five seconds:
    C:\Users>sqlplus blocker_user
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    SQL> select sid,serial# from v$session where sid=(select sid from v$mystat where rownum=1);
           SID    SERIAL#
           136         27
    SQL> conn other_user
    Enter password:
    Connected.
    SQL> select sid,serial# from v$session where sid=(select sid from v$mystat where rownum=1);
           SID    SERIAL#
           136         29Edited by: orafad on Feb 1, 2012 12:18 AM

  • Terminal Server Session Management: why do we need a rdp session to take control of a terminal session?

    Hi all,
    As title, I have this question: why do we need a rdp session to take remote control of a terminal server session?
    I copied tsadmin and related file to a windows 8.1 pc and I'm able to see for every terminal server the list of users logged in, but the option "take control" is greyed out... why? is not possible to avoid this block?
    Thanks in advance
    Davide

    Hello, Davide_ita.
    Also tried to use RDSM to "Remote Control" user's sessions, but in this thread
    Remote Control
    with Remote Desktop Services Manager - error Access is denied (Windows Server 2012 R2)
    I get the recommendation to use RDP or Remote Assistance.
    The quote of
    TP []:
    Hi,
    You cannot remote control a session on a 2012 R2 RDSH server using Remote Desktop Services Manager.  You need to use the RDP 8.1 mstsc.exe or the RDS gui in Server Manager on 2012 R2.  The command you would use with the RDP 8.1 client would be
    this:
    mstsc /shadow:<sessionid> /control
    -TP

  • My session has timed out and i need the session always active

    Hi all.
    I need a session whit never becomes timout but when I set de MaxInactiveInterval with
    a negative value (session.setMaxInactiveInterval(-1) ) the session becomes timeout in
    about 30 minutes or less, anybody can tell me why or the possible cuases of this
    I am working in IBM WebSphere Aplication Server.
    Thanks, for your time
    Outis.
    P.D. sorry for my english

    Note that the timeout is maintained on the server and is not the same as the cookie expiration date which is sent to the client. set the Session Timeout in IBM Websphere to 0.

  • Why do I need to start up Screen Sharing twice to get it to work ?

    I have an Intel Mac Mini connected to my TV, so I started using Screen Sharing from my MacBook Pro to be able to work on it when others were watching TV.
    Both Macs used to have OSX 10.5 Leopard, and everything worked fine.
    Now they both have OSX 10.6 Snow Leopard, and whenever I startup Screen Sharing, the connection-windows asking for my Name & Password comes up properly, but then it hangs... it stays in "Connecting..." for ever (litteraly).
    I'm not able to quit or force-quit the connection-window by then, so it stays in view...
    (Screen Sharing isn't even listed in the force-quit list as a running app)
    but...
    when I just try Screen Sharing again, I get connection immediately and it seems to work flawlessly...
    ...it's just that the connection-window is impossible to quit...
    it stays in view an is really annoying...
    this looks really crappy...
    can anyone tell me why I do need to startup Screen Sharing twice to get it to work ?
    Is this a bug ?
    (If so : please apple fix this a.s.a.p.)
    ...or am I doing something wrong ?
    (if so : what am I doing wrong ? and how can I get rid of this annoying screen ?)
    Thank you for your kind reply.
    Toon.B

    it's October and this really annoying problem still exists !
    the unnamed screensharing-loginwindow keeps "Connecting...", and I'm unable to shut it down...
    ...even after my screen sharing session is over
    ...even force-quitting is impossible (this 'app' just isn't showing up in the force-quit-window...)
    please Apple - fix this ; under 10.5 it was working great !
    Does anyone have any idea how to fix this ?
    (besides restarting my Mac)
    Thanks !
    Toon.B

  • What am I doing wrong with the isNew() method?  and why do I need the other methods?

    I have coded an include jsp like this.
              <%@page language="Java"%>
              <%@page import="javax.servlet.http.HttpSession"%>
              <%!
              String iContextPath;
              String iCommonPath;
              String iImagesPath;
              %>
              <%
              iContextPath = request.getContextPath();
              iCommonPath = iContextPath + "/common";
              iImagesPath = iCommonPath + "/images";
              System.err.println(" here ");
              HttpSession thisSession = request.getSession( false );
              if( thisSession.isNew() ){
              System.err.println("isnew");
              response.sendRedirect( iContextPath + "/common/login.jsp" );
              %>
              Now I also have a redirect.jsp in the root of an application that contains
              this.
              <html>
              <body>
              <%
              System.err.println("Redirecting at this time from the root");
              response.sendRedirect( request.getContextPath() + "/secureArea/");
              %>
              </body>
              </html>
              And I have a logout.java servlet that looks like this.
              package com.pch.epics;
              import java.io.IOException;
              import javax.servlet.ServletException;
              import javax.servlet.http.HttpServlet;
              import javax.servlet.http.HttpServletRequest;
              import javax.servlet.http.HttpServletResponse;
              import weblogic.servlet.security.ServletAuthentication;
              public class Logout extends HttpServlet{
              private static final String CONTENT_TYPE = "text/html";
              //Initialize global variables
              public void init() throws ServletException{
              //Process the HTTP Get request
              public void doGet( HttpServletRequest request, HttpServletResponse
              response ) throws ServletException, IOException{
              String username = "";
              if( request.getUserPrincipal() == null ){
              username = "Unknown";
              } else {
              username = request.getUserPrincipal().getName();
              System.err.println( "ePics logging out '" + username + "'" );
              request.getSession( false ).invalidate();
              ServletAuthentication.logout( request );
              ServletAuthentication.invalidateAll( request );
              ServletAuthentication.killCookie( request );
              response.sendRedirect( request.getContextPath() );
              //Process the HTTP Post request
              public void doPost( HttpServletRequest request, HttpServletResponse
              response ) throws ServletException, IOException{
              doGet( request, response );
              //Clean up resources
              public void destroy(){
              First of all, why won't the isNew() report a new session in the server log?
              EVERY request coming in says it's an old request (ie it's not new). The
              J2EE Applications and BEA WebLogic Server book from BEA says this should
              work.
              My second question is why do I need to do those three lines from
              ServletAuthentication to logout a user? Ok, maybe I'm from the MS world,
              but that seems excessive, especially since I've already done a
              session.invalidate() right before it, but the bea docs say I'm required to
              do all four!
              

    When you invalidate a session. You invalidate the session of the web
              application that your jsp/servlet is part of. It is possible to have more
              than one web application on WLS and have them share a authentication info.
              While these applications share authentication they do not share their
              sessions so because of that calling session invalidate does not kill all the
              sessions. ServletAuthentication is needed to kill all the sessions and do a
              complete logout from WLS.
              "Flip" <[remove][email protected]> wrote in message
              news:[email protected]...
              > I have coded an include jsp like this.
              >
              > <%@page language="Java"%>
              > <%@page import="javax.servlet.http.HttpSession"%>
              > <%!
              > String iContextPath;
              > String iCommonPath;
              > String iImagesPath;
              > %>
              > <%
              > iContextPath = request.getContextPath();
              > iCommonPath = iContextPath + "/common";
              > iImagesPath = iCommonPath + "/images";
              >
              > System.err.println(" here ");
              > HttpSession thisSession = request.getSession( false );
              > if( thisSession.isNew() ){
              > System.err.println("isnew");
              > response.sendRedirect( iContextPath + "/common/login.jsp" );
              > }
              >
              > %>
              >
              > Now I also have a redirect.jsp in the root of an application that contains
              > this.
              > <html>
              > <body>
              > <%
              > System.err.println("Redirecting at this time from the root");
              > response.sendRedirect( request.getContextPath() + "/secureArea/");
              > %>
              > </body>
              > </html>
              >
              > And I have a logout.java servlet that looks like this.
              > package com.pch.epics;
              >
              > import java.io.IOException;
              > import javax.servlet.ServletException;
              > import javax.servlet.http.HttpServlet;
              > import javax.servlet.http.HttpServletRequest;
              > import javax.servlet.http.HttpServletResponse;
              > import weblogic.servlet.security.ServletAuthentication;
              >
              > public class Logout extends HttpServlet{
              > private static final String CONTENT_TYPE = "text/html";
              > //Initialize global variables
              > public void init() throws ServletException{
              > }
              >
              > //Process the HTTP Get request
              > public void doGet( HttpServletRequest request, HttpServletResponse
              > response ) throws ServletException, IOException{
              > String username = "";
              > if( request.getUserPrincipal() == null ){
              > username = "Unknown";
              > } else {
              > username = request.getUserPrincipal().getName();
              > }
              > System.err.println( "ePics logging out '" + username + "'" );
              > request.getSession( false ).invalidate();
              > ServletAuthentication.logout( request );
              > ServletAuthentication.invalidateAll( request );
              > ServletAuthentication.killCookie( request );
              > response.sendRedirect( request.getContextPath() );
              > }
              >
              > //Process the HTTP Post request
              > public void doPost( HttpServletRequest request, HttpServletResponse
              > response ) throws ServletException, IOException{
              > doGet( request, response );
              > }
              >
              > //Clean up resources
              > public void destroy(){
              > }
              > }
              >
              > First of all, why won't the isNew() report a new session in the server
              log?
              > EVERY request coming in says it's an old request (ie it's not new). The
              > J2EE Applications and BEA WebLogic Server book from BEA says this should
              > work.
              >
              > My second question is why do I need to do those three lines from
              > ServletAuthentication to logout a user? Ok, maybe I'm from the MS world,
              > but that seems excessive, especially since I've already done a
              > session.invalidate() right before it, but the bea docs say I'm required to
              > do all four!
              >
              >
              >
              

  • Why do I need to pass params. to getConnection when using OracleDataSource?

    Hi,
    I've been experimenting with Tomcat 5.5 and using Oracle proxy sessions. After many false starts, I finally have something working, but I have a question about some of the code.
    My setup:
    In <catalina_home>/conf/server.xml I have this section:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    username="app1" password="app1" maxActive="20" maxIdle="10"/>
    </Context>
    In my App directory, web.xml has:
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>App1ConnectionPool</res-ref-name>
    <res-type>oracle.jdbc.pool.OracleDataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    And finally, my java code:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.driver.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    conn = (OracleConnection ) ds.getConnection("app1","app1");
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "xxx/yyy");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    //rst = stmt.executeQuery("SELECT 'Success obtaining connection' FROM DUAL");
    rst = stmt.executeQuery("SELECT count(*) from sch_header");
    if (rst.next()) {
    message = "# of NJ schools: " + rst.getString(1);
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    My question concerns this line of code:
    conn = (OracleConnection ) ds.getConnection("app1","app1");
    Why do I need to pass in the user name/password? Other examples, that I see simply have:
    conn = (OracleConnection ) ds.getConnection();
    But when I use this code, I get the following error:
    java.sql.SQLException: invalid arguments in call
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:236)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
         at web.ConnectionPool.init(ConnectionPool.java:32)
    ... more follows, but I trimmed to keep posting shorter :-)
    Is there anyway that I can avoid having to pass the user/password to getConnection()? It seems that I should be able to control the user/password used to establish the connection pool directly in the server.xml file and not have to supply it again in my java code. In earlier experiments when I was using "import java.sql.*" and using it's DataSource, I can use getConnection() without having to pass user/password, but then the Oracle Proxy methods don't work.
    I'm a java newbie so I guess that I should be happy that I finally figured out how to get proxy connections working. However it seems that I am missing something and I want this code to be as clean as possible.
    If anyone can point me to a better method of using connection pools and proxy sessions, I would appreciate it.
    Thanks,
    Alan

    Hi,
    Thanks for the replies.
    Avi, I'm not really sure what you are getting at with the setConnectionProperties. I looked at the javadoc and saw that I can specify user/password, but since I'm using a connection pool, shouldn't my Datasource already have that information?
    Maro, your comment about not having set the user/password for the Datasource is interesting. Are you referring to setting it in the server.xml configuration file? As you can see I did specify it in addition to setting the URL. In my code example, I'm not having to respecify the URL, but maybe I have a typo in my config file that is causing the username/password not to be read properly??
    The other weird thing is that I would have expected to see a pool of connections for user App1 in V$SESSION, but I see nothing. If I use a utility to repeatedly call a JSP page that makes use of my java example, then I do see v$session contain brief sessions for App1 and ADAVEY (proxy). The response time of the JSP seems much quicker than I would have expected if there wasn't some sort of physical connection already established though. Maybe this is just more evidence of not having my server.xml configured properly?
    Thanks.

  • Why do we need query rewrite enabled for a function-based index?

    Oracle 9i
    ========
    I have searched a few sites but could not find any content on it. The question is why do we need to implement query rewrite enabled when we are trying out a function-based index?
    Thanks in advance.

    You don't, that's a legacy requirement from the early days of function based indexes in Oracle 8i. Here's a quick example running under 9.2.0.6
    drop table t1;
    create table t1 as
    select
    from
         all_objects
    where
         rownum <= 30000
    create or replace function pl_func(i_vc     varchar2)
    return varchar2
    deterministic
    as
    begin
         return soundex(i_vc);
    end;
    -- set the worst case scenario
    alter session set query_rewrite_enabled = false;
    alter session set query_rewrite_integrity = enforced;
    create index t1_i1 on t1(pl_func(object_name));
    execute dbms_stats.gather_table_stats(user, 't1')
    set autotrace traceonly explain
    select
         object_name
    from t1
    where pl_func(object_name) = 'T513'
    set autotrace offResults (after set feedback off)
    SQL> @temp
    Execution Plan
    Plan hash value: 1429545322
    | Id  | Operation                   | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |       |    27 |   675 |    10   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T1    |    27 |   675 |    10   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | T1_I1 |    27 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("TEST_USER"."PL_FUNC"("OBJECT_NAME")='T513')
    SQL> spool offRegards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • Why is my Safari browsing session not continuing on my iPhone?

    Why is my Safari browsing session not continuing on my iPhone from my MacBook Pro? I thought this was a feature of Mountain Lion or do I need to change some settings?

    To synce iMessages with iOS and OSX, you need to not only have a well setup contacts card (both their apple id email and their iphone phone number in one card) you will need to setup your apple id on your phone. Your friend will also need to do the same thing on their phone, however you are able to send messages to phone numbers, they do not sync with OSX and will not show up on, say an iPad. This will be fixed once iOS 6 comes out, or at least that's what the keynote and WWDC 2012 said
    In iOS go to settings>Messages receive at and sign in with your apple id you use for iMessages. (make sure you are only using one apple id, I know it lets you use multiple ones, but it works best with one).
    now that your iOS device and your OSX device have the same apple id email tied to imessages, have a friend send you a message or send one to your friend and when they reply back it should all sync.
    A catch, as of now, with iOS 6 not out, there is no way to sync iMessages made with your phone number and OSX. So some of your text messages may only appear on your phone until you respond.
    once you respond, you've responded with you apple id.
    if they respond to that message specifically then the chat will sync between all devices.
    if your friend says that they have two text messages open for you, tell them that they have to add your apple id to the contact card they have for you, and then delete both messages. Now it'll sync in one message box.
    The same is true with other chat accounts and your contact cards in Messages.app on OSX
    Think of Contacts.app as the new buddy list...
    -Phil

  • My membership is activated, why I still need to provide a serial number??

    My membership is activated, why I still need to provide a serial number??

    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

  • Why do I need to provide my phone number when purchasing Lightroom?

    I've never had to provide my phone number before on any other platform which I've ordered other products on. Why do I need to provide such a personal information to Adobe? 

    I can think of two reasons:
    1)  A phone number is typically asked for when purchasing via a credit-card so the card can be validated.
    2)  So Adobe, at some point in the future, can call you to set up a remote session with your computer as part of a technical-support issue resolution..

  • Why do I need consolekit or dbus?

    I currently run DWM as my window manager, and the last line of my .xinitrc is:
    exec ~/scripts/startdwm
    I see a lot of others have something to the effect of:
    exec ck-launch-session dbus-launch --sh-syntax --exit-with-session ~/.bin/startdwm
    What is the purpose of this?  What am I missing out on by not starting with consolekit or dbus?  What is the best practice?

    jasonwryan wrote:There are wiki pages on both of these: please research topics before asking questions here:
    I did some research before coming here. My initial post was not very descriptive, and for that I apologize.  Let me try to explain myself better.
    In the quest to learn more about the dark corners of my Arch Linux machine, I'm picking out components and learning more about them. Currently in the hot-seat are dbus & consolekit.  I'll break down my experience so far with each of them separately, [hopefully] for the benefit of clarity.
    dbus
    As do most archers, I started out with the Beginner's guide. Here is what it says about dbus:
    Arch Wiki wrote:Note: dbus is likely required for many of your applications to work properly, if you know you do not need it, skip this section
    In other words, "just install dbus 'cause you probably need it".  I had no idea whether or not I needed it, so I just installed it, as was recommended. However, I'd like to note that this seems to deviate with The Arch Way. The arch way stresses simplicity and code correctness over convenience, so to ask the user to install something without explaining why seems out of place. The more typical approach throughout the wiki is to explain why, like "install mesa for 3D support" or "install alsa-mixer to control sound".
    Next, looking at the dbus Arch Wiki entry, it's clear that dbus is a system for easy inter-process communication, but I still have no idea why almost everyone needs to install it.  Won't apps requiring dbus for IPC have dependencies on dbus, and then install and use dbus like any other dependency? If not, don't I need to know what common applications use dbus, as well as how and why they do so?  This is where my confusion lies. 
    ConsoleKit
    The Arch Wiki ConsoleKit entry explains:
    Arch Wiki wrote:ConsoleKit is a framework for managing user sessions, and permissions.
    What is not done already that ConsoleKit solves with its session management?  What does ConsoleKit do with permissions that isn't handled by either the Linux kernel or sudo/su/chmod/etc...?
    The ConsoleKit Official documentation comically avoids answering this:
    ConsoleKit Documentation wrote:
    Defining the Problem
    To be written.
    The Arch Wiki ConsoleKit entry further explains:
    Arch Wiki wrote:Some of the most common usages of ConsoleKit is allowing non-root users to mount removable media, and suspending/shutting down the computer through common desktop applications (ie: thunar, nautilus, the gnome shutdown menu, etc).
    Why is this better than just using sudo for mounting media and shutting down / restarting?  If I can do some cool stuff with ConsoleKit managing my X sessions, sign me up, but tell me what I can do & where to start. 
    If there is nothing new that ConsoleKit does, and some apps just arbitrarily decided to use it as opposed to more common components for certain functionality, then how do I know that before using those apps? If it's just guess and check that's fine, but I feel like I'm missing something here.
    Also, is there a best-practice way to launch several apps under consoleKit, as opposed to this "dirty workaround":
    Arch Wiki wrote:A dirty workaround is to have the entire session started by a second script (don't forget dbus-launch, it's likely you need it too).
    And again with the "you probably need dbus" without explaining why. 
    My poorly-thought out original post begged to be dismissed with a "google it". Hopefully I have better explained myself, and someone can point me in the right direction.  If I've just stupidly missed something basic (most likely the case, I'm somewhat new to all of this), have mercy on me and kindly point me in the right direction.
    Thanks!

  • Archiving cds and why do i need id3 tags

    here comes another one of those questions looking at which codec to use to store music.....i also have tag questions.....
    i'm about to (re-)rip my cd collection and looking at some info re codecs and id3 tags
    now.....i believe i understand the benefits of alac (lower file sizes, keeping id3 tags, lossless compression) v wav(no compression)
    however (and for some out there) if we just entertain the fact that wav may have some minute benefit for me depending on my questions and answers given.....and yes i know wav and alac will sound the same to the human ear - i accept that as a given of lossless compression ......
    points i'd like to outline:
    i am looking to rip my cds, firstly and mostly, for an archiving purpose!! purpose numero uno!!
    i could well want to re-create cds with these archived records in the future
    size of files is of no concern to me at all
    i'm using a mac nowadays
    i will convert most of these files, where needed, to use with a portable music player (i'm not bothered with having, say a wav file and then also converting and having an alac file, as crazy as that sounds)
    this is where i ask for info re the benefits of embedded tags that are found in alac:
    are these tags that important?
    where do they come into play in ripping and later converting music?
    are these uses just bells and whistles that have no benefit to my needs?
    if i rip cds to wav (or aiff), say, using itunes, will cd info and track listings be available on the downloading database (eg itunes) to name these wav files?
    if i then ensure these song files are kept under the album's folder, have i just done what tags do? surely not. that is all i have needed in the past.
    this is where i feel i may be really missing what id tags (can) do
    are tags more than just managing song files and where they belong and where they have come from?
    is it just a convenience of not personally managing your song files (as per previous paragraph)?
    (in the past i had ripped cds to mp3 codec. i think i used "cd rip" or something like that on my pc.
    my mp3 files were individually named and sorted and kept under album folders under artist name folders.
    apart form the very odd occasion all track and album info i needed was found on a database that was attached to the ripping software.
    i never had a problem managing/maintaining these files and folders.)
    i welcome some enlightenment on some of my questions above and other info that may be relevant
    and yes, i understand that music will sound the same as a wav file or alac file - but humour me re using wav and tell me why i need id3 tags
    i guess the crux of it is:
    why do i need id3 tags?
    does my managing of my song file in the album folder do what tags do?
    what problems/shortcomings/headaches may i encounter by not having those tags if i use wav as opposed to alac?
    what do i not know about these little buggers?
    what codec is best for my purpose of archiving and re creating of cds (for playing in cd players)
    thanks in advance for your input and any clarity that i may experience through this
    peter t
    excuse my long windedness (i have spent some time editing this entry)

    Crows2012 wrote:
    as mentioned earlier if i just have songs (wav) in album folders, when i import these albums into itunes, do you know if these will come up under AN album with their file names purely using my filename setup (but with no artwork)?
    Yes, iTunes will read the filename, such as "Track 1" or something else and display it. But nothing else. No Album or Artist.
    so the tracks will remain grouped as an album based on their initial folder and the albums and tracks as per file name?
    Crows2012 wrote:
    also, does aiff have limitations (apart from the full size of the file)?
    I'm not sure I understand what you mean. For all practical purposes AIFF and WAV are exactly the same thing. They're just file containers.
    i thought that i had read somewhere that aiff tags could run into some issues with its tags - ie may not always be transferred 100% accurately with certain players (or hardware maybe)
    Crows2012 wrote:
    and how do these codecs work re-creating an album for the purposes of playing in a cd player? - this is a crucial question for the purpose of my archiving/backup of CDs THEMSELVES
    That's actually going to depend on what burning software you use. Once you rip the tracks to whatever file container you choose (WAV/AIFF/ALAC) you'll never really exactly re-create the album. But for archiving purposes all three file containers will do what you want, which is to create a lossless archive. AIFF has the advantage of supporting embedded ID3, which ALAC has the additional advantage of the files also being about half the size of AIFF/WAV files.
    i was thinking that maybe wav was able to recreate an album (in effect duplicate one) if my cd was lost or damaged in the future. i was thinking this IF when ripping to wav everything is unchanged (unless there is other data on the original cd). and maybe only possible with wav. the purpose for this would be to play recreated cds on my cd player
    any idea on this one?
    (i havent looked too thoroughly on this angle but i'll keep googling on this one)
    much appreciate all info thus far
    peter t

  • I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.

    I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.

    Just select no credit card as outlined here:
    http://support.apple.com/kb/ht2534

Maybe you are looking for

  • Getting Java 1.4 and 1.6 to both be available for applets on one machine.

    My problem is this, several of our clients are also clients of a banking institution who's online business banking solution is written in J2SE 1.4.2 or some such and will not run on any other version. Up until around J2SE1.5_06 this wasn't a problem,

  • SELECT OPTIONS IN WEB DYNPRO ABAP

    Hello experts, im working with select options in a WEB Dynpro. There are four buttons (cancel,check,reset,copy) that apears above my select option. My question is: There is a way to hide that buttons? THANKS!

  • Need refund but support and refund form don't work...

    Hi, support form says "Sorry, we're having some problems at the moment. Please try again later. In the meantime, you can post to the Skype Community or read our FAQs." from 2014-7-9. Refund form says "This is a required field." for field "Ordered on"

  • Compressor 3.0.4 Needed

    I am a frustrated Wraptor user, trying to get Wraptor to work with Compressor 3.0.1. No luck. I have discovered it will work 3.0.3 and 3.0.4. Might any have failed to run software updates in the last year? If so, you have the version of compressor I

  • Problems after uninstalling Acrobat 10

    I recently installed and then uninstalled a trial version of  Acrobat 10.  Now when I try to make a pdf in Acrobat 9, I get an error message that the distiller cannot find a file in an Acrobat 10 folder (which has been deleted).  How can I get the di