Set database path for sessionStorage html5 Android

Hi all,
anyone knows how to set the database path for sessionStorage for HTML5? I am loading the page in a stageWebview.
if not, does anyone know where the session data is stored on the phone?

Hi,
I don't think there is a way to access that data on non-jailbroken/non-bricked device and with official SDKs:
http://dev.w3.org/html5/webstorage/#sensitivity-of-data
So how  you would explore this?
regards,
Peter

Similar Messages

  • Set Database path dynamically

    Post Author: santoshk
    CA Forum: Data Connectivity and SQL
    Hi All,
    I am using asp dot net 2.0 With craystalreport and C#.
    While crating report i am giving server,databsename and all the credentials as per my computer. My crystal reports work fine.
    But problem occurs when i try to run the crystalreport other than my machine. It always ask for databse password,server name.
    Is it possible to set database path dynamically for sql server.
    Please help me.
    If anybody give me the detail procedure in c# ,it will be appriciated.
    Waiting for reply.
    thanks in advance

    Post Author: DLO34
    CA Forum: Data Connectivity and SQL
    I recently came across this issue. I was able to get a
    Crystal Report to work dynamically under limited conditions. If you create a
    direct connect report for an Oracle database then, it will only connect to
    other Oracle databases. The same is true for MSSQL and Sybase. When using the
    CRPE or RDC API you must set the logon credentials for the report as a whole
    and for each object within the report. Below is a snippet of my code C++ using
    the RDC API. This should help get you going.
    IReportPtr pReport;
    IDatabaseTablesPtr pTables
    IDatabaseTablePtr  pTable
    Int num_tables, i;
    // set for whole report
    pReport->Database->LogOnServer(DB_DLL, DB_Server_Name, DB_Name,
    DB_User_Name, DB_Password);
    pTables    = pReport->Database->GetTables();
    num_tables = pReport->Database->Tables->Count;
    for (i = 1; i <= num_tables; i++)
        pTable = pTables->GetItem(i);
        pTable->SetLogOnInfo(DB_DLL, DB_Server_Name, DB_Name,
    DB_User_Name, DB_Password);   // set for each object

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • How to set local path for load library

    Hi,
    How do i set local path for native dll as i dont want to set the path in the environment variable.
    can i do like this
    System.loadLibrary("c:\abc");
    Thanks

    I believe that System.load() does exactly the same thing, but accepts fully qualified filenames. So give that a try.
    Failing that.... maybe you can add -Djava.library.path=
    to your command line to explicitely override the path set ?
    regards,
    Owen

  • How to set class path for mysql

    hai, I have been trying to make a java program read from mysql database. but i don't know how to set the class path for mysql-connector-java-5_1_.0.6-bin. i set the class path in system variable as C:\Program Files\Java\jdk1.5.0_08\jre\lib\ext\mysql-connector-java-5_1_.0.6-bin.
    in the command prompt, i compile C:\javac abc.java and run java abc.
    when run it come out error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    i am using Window xp. can anybody help me??? TQ.

    hai, I have been trying to make a java program read
    from mysql database. but i don't know how to set the
    class path for mysql-connector-java-5_1_.0.6-bin. i
    set the class path in system variable as C:\Program
    Files\Java\jdk1.5.0_08\jre\lib\ext\mysql-connector-jav
    a-5_1_.0.6-bin.
    in the command prompt, i compile C:\javac abc.java
    and run java abc.
    when run it come out error
    java.lang.ClassNotFoundException:
    com.mysql.jdbc.Driver
    i am using Window xp. can anybody help me??? TQ.Right click on my computer icon,
    Goto properties->advanced->environment variables.
    Look for 'classpath' under system variable.
    Select it and click edit.
    put ';' and path of the mysql connector jar at the end
    suppose if u have jar file under d:/driver/mysqlconnector.jar
    thn put this value in variable value text box
    ;d:/driver/mysqlconnector.jar
    or simply put ur driver jar file in jre/lib/ext folder
    D:\j2sdk1.4.2_03\jre\lib\ext
    [Servlet tutorial|http://www.jsptube.com]

  • How to set (class)paths for a Managed server?

    How does one configure the PATH and CLASSPATH and pass definitions (like "-Djava.library.path=c:\p\bea\wlserver6.1\bin")
    to a remotely-started managed server?
    The section in the WLS 6.1 AdminGuide.pdf that talks about configuring a managed
    server's Remote Start tab says on pages 3-9 to 3-10 that, "If you don't specify
    values for these fields and attempt to start the target server from the Administration
    Console, the Node Manager will attempt to start the target server with the values
    for these attributes that were used when starting the Node Manager. The Node Manager
    will be able to start the Managed Server in that case if you specified the required
    values on the command line when starting the Node Manager."
    So it sounds as if I can get the java.library.path definition and CLASSPATH sent
    to the server via the Node Manager startup command.
    Does that work when using the Node Manager as an NT Service? Here is my Win2K
    command file for setting up the Node Manager as an NT Service. Note that I'm trying
    to tell it where to find the Windows native libraries (wlserver6.1\bin for wlntio.dll)
    and the JDBC drivers (C:\SHADOW\jdbc\... and C:\Orant\jdbc\... ) :
    ========== BEGIN installNMNtService.cmd ================ @echo off
    SETLOCAL
    cd C:\p\bea\wlserver6.1\
    rem *** Set Classpath to load Weblogic Classes
    set CLASSPATH=.;C:\p\bea\wlserver6.1\lib\weblogic_sp.jar;C:\p\bea\wlserver6.1\lib\weblogic.jar;C:\SHADOW\JDBC\scjd12.jar;C:\orant\jdbc\lib\classes111.zip
    rem *** Set Command Line for service to execute
    rem *** %JAVA_HOME%\java will automatically be prepended.
    set CMDLINE=" -ms16m -mx16m -classpath \"%CLASSPATH%\" \"-Dbea.home=C:\p\bea\"
    \"-Djava.security.policy==C:\p\bea\wlserver6.1/lib/weblogic.policy\" \"-Dweblogic.nodemanager.weblogicHome=C:\p\bea\wlserver6.1\"
    \"-Dweblogic.nodemanager.reverseDNSenabled=true\" \"-Djava.library.path=c:\p\bea\wlserver6.1\bin\"
    \"-Dweblogic.nodemanager.listenAddress=111.111.111.123\" \"-Dweblogic.nodemanager.trustedHosts=./config/nodemanager.hosts\"
    weblogic.nodemanager.NodeManager"
    rem *** Install the service
    "C:\p\bea\wlserver6.1\bin\beasvc" -install -svcname:EDANodeManager -javahome:"C:\p\bea\jdk131"
    -execdir:"C:\p\bea\wlserver6.1" -extrapath:"C:\p\bea\wlserver6.1\bin" -cmdline:%CMDLINE%
    ENDLOCAL
    ================= END installNMNtService.cmd ==================
    But when I start a server remotely, it can't find the native libraries and it
    can't find the JDBC libraries in the CLASSPATH. Otherwise, it can serve up HTML
    pages at the correct port number so I know it's running.
    When starting a managed server remotely via the WLS 6.1 console, how do I tell
    the managed server where the native libraries and JDBC libraries are?
    Thanks!

    Hi,
    The memory setting on the WC_Spaces managed servers can be seen as mentioned below.
    ps -eaf | grep Spaces
    Above command shows something like this at the top of the output:
    /a01/app/oraweb/middle/jrrt-3.1.2-1.6.0/bin/java -jrockit -Xms512m -Xmx1024m -Dweblogic.Name=WC_Spaces1 ...
    Regards
    Sreedhar

  • [SOLVED]Where is the place to set program path for root in arch?

    The situation is that I use qingy (set up according to wiki) as login manager and kde as desktop. When I use tty6 (agetty) to login (how comes that I cannot login as root, have to login as user and then su) /usr/sbin is in the path for root, but in kde when I su in konsole it is not. That caused me some headache with the latest kernel upgrade, since in kde the kernel will not upgrade properly, I have to do it on tty6. what is the proper way to set paths in arch? I looked at /root/.bashrc and that is almost empty. What obvious things am I missing? Has qingy to do with that problems? Any docs on that for arch? Besides firefox doesn't see any installed plugins, opera does. Plain Centrino laptop here.
    Thanks, signor_rossi
    Last edited by signor_rossi (2007-08-24 15:12:31)

    Thanks for the answers. Investigated a little more and it seems it is really qingy what messes things up. Deactivated it and used "startxfce4" to start xfce and "startx" with "exec startkde" in my  .xinitrc to start kde (once I figured out that in Arch "startkde" on command prompt alone does not work ) and voila, the path weirdness is gone in both DEs. Will look again into qingy when I have more time, since it is really nice when using different X setups (laptop on the go or laptop on docking with second display), like the eye candy. I guess I will stick to console now and simply use bash aliases for that purpose.
    Thanks, signor_rossi.

  • How to set database location for stored procedure

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    I've already found out that setting location is not only my problem, but I can't understand the correct decision. We using CR to create reports, accessing the data in MSSQL by ODBC.
    Previously (up to version 8) I set location directly, editing the "Table" field in "Set Location" form. Command after report creation was:
    Proc(DBNAME.dbo.PROCEDURE_NAME;1)
    I erased "DBNAME.dbo.", so the correct command was
    Proc(PROCEDURE_NAME;1)
    After that, the report can run on any database name, any ODBC datasource with any owner name of procedure.
    Now we had to upgdate to CR 11 Developer Edition.
    Here I can't erase database location. But when I change database location to ODBC datasource for another database, the properties of stored procedure "Catalog" and "Owner" remain the same as they initiated when report was created! So, when report runs, it call
    exec OLD_DB_NAME.dbo.PROCEURE_NAME;1 ....
    So, the report doesn't work on customer database, because it has different name.
    How can I erase any database location in the report?We run reports using API from Gupta Team Developer applications, may be it is possible to set database location by API before running report?
    Plese help, any tips are usefull.

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    When I set location to another database (i.e. another ODBC datasource) by clicking Update button, "Catalog" property is not changing! It remains unaltered. I had to remove procedure from report and then add procedure from another database, so there was a lot of formatting fileds after that.
    This is not a right decision. I didn't solved current problem, I only temporary patched it.
    The correct desision is to set location programmatically from application.But function PEGetNthTableLocation returns empty strings in CR11, or I incorectly declared this function (from CR8.5):
    BOOL CRPE_API PEGetNthTableLocation ( short printJob,  //handle to print job short tableN,  //number of table struct PETableLocation FAR *location     //structure pointer);typedef struct PETableLocation {    WORD StructSize;    char Location &#91;PE_TABLE_LOCATION_LEN&#93;; //256    char SubLocation&#91;PE_TABLE_LOCATION_LEN&#93;; //256    char ConnectBuffer&#91;PE_CONNECTION_BUFFER_LEN&#93;; //512} PETableLocation;

  • Set a path for ap

    Hi:
     I want to set path let ap can use,
    e.g: web_home="/var/www/html"
    then ap can call a file with relative Path,
    where/how shoule I set the path export?
    Thank you
                 newbit

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • Setting cookie path for JSESSIONID cookie for admin console

              We've run into a strange problem with the JSESSIONID cookie created for the weblogic
              console application clashing with the JSESSIONID cookie created for our application.
              We've set the path to application JSESSIONID cookie but have been unable to set
              the cookie path for the console application JSESSIONID cookie.
              Anyone know how to do this?
              Thanks,
              Mark
              

    Create a JAAS Authentication Entry in the Server configuration.
    This should then appear in the drop-down when specifying your DataSource.

  • How to set default path for file open in SQL Developer

    Hi,
    I am new to Oracle SQL Developer. Everytime when I open a file, it will default to the install directory. It is hurtingmy hand because I have to click back to the folder where I put my sql statements.
    Is there any way to set the Home or Work button to point to the location I like? or add anther button to point to my folder? I just don't want to click 5 to 10 times to open a file.

    There are a few things. One is that you can set a working directory for any files you run in the SQL Worksheet i.e. @myfile.sql will pick up this directory.
    You can also set a preference for exporting files.
    Also if you use File -> Open, it should remember where you were the last time, so you hunt the first time, then it remembers for the next time. There is a bug for ctrl-O that always goes back to the original directory, but that has been fixed for the next patch release, so ctrl -O will also remember where you were last.
    The differences here are because we are dependent on the IDE from JDeveloper, and so we don't have full control over the Save and Open dialogs. We are aware of this frustration and are planning to change this for a future release.
    Regards
    Sue

  • Dynamic Configuration - Set Directory Path for File Receiver Adapter

    Hi Experts,
    I have a question regarding the dynamic configuration for the file adapter. Is it possible to set a directory path without a message mapping for the file receiver adapter? the problem is that I want to import a pdf document. this pdf document I want to store in a dynamic directory (depending on the filename). so I have to read the filename out of the dynamic configuration and generate (depending on the filename) a directory for this file. Is that possible without a message mapping? I cannot make a message mapping because the file has the pdf format and should not get changed.
    best regards
    Christopher Kühn

    Hi Gaurav,
    I use the ASMA (respectively the filename) for the sender adapter. After the pdf was imported into XI this filename is in the ASMA.
    But what then??? How can I get this filename with the help of the variable substitution? and if I have this filename I have to change this filename a bit to generate the name / path of the directory.
    Please explain it to me detailled
    Thanks and regards
    christopher

  • How can I set a path for a new AD-User in this Switch example?

    Hi,
    I am nearing the end of my script that creates a new ad user, adds them to a set of groups, and moves them to their correct ou.
    The problem I have is that I cant work out how to move them to the OU.
    eg.
    Step 1. In my function I have completed the part that creates the user, and I have used the -passthru parameter to return the new user object into a variable called $obj.  
    Step 2. I have created a switch that accepts a department variable, and adds the user to the corresponding groups.
    Step 3. Finally I want the user to be created in an OU that is relevant to their job role. If possible in the same switch as above.
    Here is the switch :
    Switch($dept)
    Finance {$FinanceGroups = @("Finance","Users");ForEach($group in $FinanceGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    Sales {$SalesGroups = @("Sales","Users");ForEach($group in $SalesGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    Support {$SupportGroups = @("Support","Users");ForEach($group in $SupportGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    I was trying to do it like this.
    Finance{$FinanceGroups=@("Finance","VPN_Users");ForEach($groupin$FinanceGroups){Add-ADGroupMember-Identity$group-Members$Obj}{$Obj.Path ="OU=Staff,OU=Accounts,OU=Resources,DC=homenet,DC=com"}}
    But it doesn't seem to work, and I think the problem could be that the new user object returned by the -passthru parameter is read only. So I can't set it's parameters.
    Can you think of a way to do it?
    Thanks

    I would re-write this function as follows:
    Function New-User {
    [CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='High')]
    Param(
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=0)]
    [String]$fname,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=1)]
    [String]$sname,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=2)]
    [ValidateSet("Milan","London","tokyo")]
    [String]$site,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=3)]
    [ValidateSet("Finance","Sales","Support")]
    [String]$dept,
    [Parameter(Mandatory=$false,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=4)]
    [String]$baseOU = "OU=Accounts,OU=Resources,DC=homenet,DC=com",
    [Parameter(Mandatory=$false,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=5)]
    [String]$tempPass = "Temp-pass1"
    Write-Verbose "Creating user '$fname $sname' in OU 'OU=$dept,$baseOU'"
    $objUser = New-ADUser -name "$fname $sname" `
    -GivenName $fname `
    -Surname $sname `
    -DisplayName "$fname $sname" `
    -SamAccountName "$fname.$sname" `
    -AccountPassword ($tempPass | ConvertTo-SecureString -AsPlainText -Force ) `
    -ChangePasswordAtLogon:$true `
    -Path "OU=$dept,$baseOU" `
    -PassThru
    $Groups = @("All_$site","Users","$dept")
    Write-Verbose "Adding user '$fname $sname' to groups '$($Groups -join ', ')'"
    $Groups | % { Add-ADGroupMember -Identity $_ -Members $objUser.DistinguishedName }
    Write-Verbose "Enabling user account '$fname $sname'"
    Enable-ADAccount -Identity $objUser.DistinguishedName
    <#
    Examples
    New-User -fname "Sam" -sname "test" -site Milan -dept Finance -Verbose
    #>
    Notice:
    Function name: follows verb-noun format - best practice 
    $obj variable renamed to $objUser - using variable name that reflects its content
    Use of CmdLetBinding[] and confirm impact as high since you're writing to AD 
    Use of ValidationSet to minimize parameter input errors
    Parameterized baseOU, and TempPass
    Added requirement to change password at first logon
    Enabling the account at the end
    You should wrap each of the 3 steps in a try-catch block. Check for things like user already exists or not, group exists r not, OU exists or not..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Where are the settings located to set the path for CFC Components in CF9?

    I have 2 coldfusion 9.0.1 instances running as separate windows services and they are some how cross referenced to one another. I need to fix this and I know it is just a matter of repairing a setting somewhere that is not readily available in the CFAdmin page and does not appear to be in any of the files located under the instances CFIDE and WEB-INF directories. Any help would be highly appreciated.

    You can map a path to components in each instance application.cfc.  this.mapping["/components"] = "C:\ColdFusion9\wwwroot\sitename\components\"; for example.
    ^_^

  • How do I set class path for 3rd-party classes?

    Hello, I need to know how to set the classpath so that I can use the apache's third-party lang classes. I downloaded commons.apache.org/lang/download_lang.cgi. And I need to know next steps. Move the unzipped files to which location? And type what commands?
    Thanks, Melissa

    Hi, it's not the server that I am running. My instructor told me to download an apache class file for the Apache Lang library and then set my class path to point to the executable. Her instructions are for Windows users, however. I need to do something in the terminal shell but I don't know precisely what.
    mg

Maybe you are looking for

  • How to open an order form of a particular order in edit mode

    hi i need to open a order's order form in edit mode so that it can be approved or any other operations done on that. there is an similar post but the soln s nt available fr the abve mentioned prob " i dont knw what are the exact parameters that shoul

  • BW Mass activity BWOP / transaction FPOP 2.

    Hi Experts, How will be changed Date identification in FPSCHEDULER when I will plan FPOP in FPSCHEDULER as a job? It's possible to plan it with FKJOXTR(because FPSCHEDULER is signed as obsolete ) ? If yes how? What is the best way run FPOP on periodi

  • Bean Value display in JSP Page

    Hi, I am trying to display a value stored in my bean on the jsp page. The value is to be displayed on the initial jsp page.    public void doInitialization()           request = (IPortalComponentRequest) this.getRequest();           response = (IPort

  • Mountain Lion Calendar problem

    hey everyone I have just upgraded to Mountain Lion, but I am having a small problem.  My iphone and ipad will share calendar dates via the cloud but for some reason I cannot seem to get my mac to communiate with either so the mac will not pick up the

  • New error when trying to open Soundtrack

    I have been opening soundtrack just fine until today.  Now I get an error message that reads: NSInternalInconsistencyException Invalid parameter not satisfying: m_mainWindow I am running version 3.0 with my OS X system 10.5.8 anyone know what to do?