Session create problem in mysite....

Hi developers,
In my project when ever i am clik on sign out button. All session values distroy. But when ever i click on the BACK Button in Browser it shows all options regulary until page refresh. How can i solve this problem.
This is my logout.jsp file
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage=""  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<%
     session.removeAttribute("uname");
     session.invalidate();
     response.sendRedirect("http://www.dec1010.com/visitagain.jsp");     
%>
</body>
</html>Thanking u
with Regards
sure..:)-

when ever i
am clik on sign out button. All session values
distroy. But when ever i click on the BACK Button in
Browser it shows all options regulary until page
refresh. How can i solve this problem.The browser is caching the page.
When you hit the back button on your browser, the browser is reading the data from the cache and not from the Http Session.
When you use HttpSessions, it is a good practice to prevent browsers from caching your page.
Caching mechanism is browser dependent and HTTP protocol version dependent , do some research on how you could prevent a page from being cached and add the code directly in the JSP page which you don't want to be cached.

Similar Messages

  • New session created with every request

    Hi there,
    I have an web application that we used to deploy on tomcat, websphere and bea without any trouble. We are trying to move to support OAS and the application gives this peculiar behavior:
    A new session is created with every single request by the client browser. I have searched these forums for the better part of today and read some interesting similar cases but none of the fixes seem to have any effect on my problem.
    Is there a different way I need to request the session object from the request in the app for OAS? Or is there a configuration that I should have? I am deploying the app as a .war file. Is there a better way to deploy on OAS, should I stick the war in a .ear?
    Any help on this would be most greatly appreciated!
    Thanks,
    -Adam

    I have a problem that matches with this subject line but its somewhat different. This original posting wants to create new session and invalidate the existing one but my problem is to keep the session invalide if it has expired for the browser.
    Anyways, here is my problem. I have JSP named entity_actions.jsp which has 3 pop-up links that opens up with code like:
    window.open('restaurantentry.do?entityName=restaurant')
    window.open('districtentry.do?entityName=district')
    window.open('baseentry.do?entityName=base')
    My web.xml has this tag:
    <session-config>
    <session-timeout>5</session-timeout>
    </session-config>
    And the way forward the response for each request is:
    context.getRequestDispatcher(urlString).forward(request, response);
    The code I check for session timeout is:
    private void checkForSessionTimeOut(HttpServletRequest request)
    throws SessionTimeoutException
    HttpSession current_session = request.getSession(false);
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    if (current_session == null)
    logger.error(CLASS_OBJECT, "SessionTimeOutException has thrown.");
    throw new SessionTimeoutException("sessionTimeOut");
    Now lets say I want to show the end user session expiry page after 5 mins of idle time. Now from entity_actions.jsp when I click/open any one popup first time after 5 mins of idle time/session expire,
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    this loggers shows current_session as 'null' and I can display session exp mesg on the popup page. But when I click/open any other popup or any other link on the page it DOES WORK instead of having current_session = null, it creates new one. And I can see the sessionid which is different than fist session created on the same base page/browser.
    The same pattern of code used to work on Tomcat and JRun before for showing consistant session expiry on all the clicks being made on the same browswer after session gets expire.
    Why OC4J / JDev 10.1.3 is creating new session on the same browser even after session has expired?
    How can I fix this?
    Thanks

  • Session created by RFC Destination don't close.

    Hi Experts
    I create an RFC Destination in NetWeaver 7.2, and i use this destination to access some RFC from CAF project.
    The problem is when i access the RFC, the ECC create a session to the user and don't close this session.
    After some time i have a lot of session created in ECC. The session in ECC should be closed, because i get some error when there are a lot of session with the same user opened in ECC.
    I create the destination in NWA - Destination.
    Could someone help to solve this?
    Regards
    Marcos Brandã

    Not anwsered.

  • Delete the internal sessions created in the report program

    Hi,
    I have problem when a user defined transaction is called for many times from a report program. My program uses call transaction method to call a user-defined transaction for many times, i get a error like 'Maximum number of internal sessions reached' when the number of  internal sessions created exceeds 6 . Please let me know whether there is any way to close/delete the previous internal sessions that are created through the program.
    Please help me to solve this problem.
    Thanks in Advance,
    Prabavathi

    Hi prabhavathi,
    1. If a new window is opened then, by default, we can have atmost
        six sessions.
      (This can be increased by basis team)
    2. I just tried, from a program, 
       using call transaction 10 times.
      But the first one is executed, and when we come out of it,
      only then the second one gets executed.
      Its remaining in only one window/session.
    regards,
    amit m.

  • Session Expired Problem on OAS

    Hi,
    I often got the error message "Session Expired" displayed on my HTML page that serves Java Servlet output after some time.
    I attempted to look through my Servlet source codes but it has no problem. In fact, it runs perfectly well on JavaWebServer2.0.
    This seems to be a OAS problem. I'm using Oracle Application Server 4.0.8.1. I attempted changing the Servlet Cartridge's "Max session idle time" and observe the behaviour. It appears that when "Session Expired" problem happened, my servlet class never get called. OAS simply display a "Session Expired" message on the web page.
    How can I avoid this? How can ask OAS to call my servlet's doGet() to create a new session when it expired?
    Anyone knows how?
    null

    Hi,
    OAS has a limitation of 300 seconds. This value cannot be changed. See the release notes.
    One possible way to get around this is to use the Oracle Supplied Session class and use the time feature in that.
    This a big limitation and I am not sure why Oracle designed the product this way.
    null

  • HELP: Forms and Report Session Context Problem

    Hi:
    I use CONTEXT in our applications. Every time there's a query to
    any of the applications tables it's added a predicate in WHERE
    clause to restrict access to the data that belongs to different
    people!
    The context is set when the user LOGIN into applications (NOT
    DATABASE) using our login system. Each user that login's in
    applications use one user that is always the same (X_USER)
    connecting to database. Each session created after our login
    system validate user creates a CONTEXT in session and that
    context is used to restrict access in tables with the predicate!
    Our problem is... Calling reports form forms on WEB create
    another session with the user X_USER and when create's that
    session the CONTEXT parameters are not SET, so i can SELECT data
    from any table!
    Is there a way to execute in reports our PROCEDURE that set
    context of the session?
    Can the reports use the same session of the forms ?
    Any solution?
    Thankx in advance,
    Ricardo

    No, Forms and Reports use different sessions. What you can do is
    to add a parameter to the report that contains the context. And
    use the Before Parameter Form trigger to set the appropriate
    action.
    I used to set a role to the report user this way, but you can
    adapt it to your particular needs.

  • I want to go back to the previous 2014.2 version.  .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.

    2014 .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.

    You didn't mention what error(s) you've encountered? A workaround for the most commonly hit problem is here Re: error in Muse : Object UID:U6875 has two (or more) owners: U3633 and U3165
    If you have a copy of your .muse file that has not been saved using 2014.3, you can downgrade by uninstalling Muse and then choose Previous Version in the Filters drop down in the Apps panel of the Creative Cloud desktop app. There will be a popup next to Muse where you can select a prior version to install.

  • When firefox checking for updates and updates found but due to proxy restrictions it unable to download the updates then it continue trying to download that and this time it creating problem on running javascript

    When firefox checking for updates and updates found but due to proxy restrictions it unable to download the updates then it continue trying to download that and this time it creating problem on executing javascript and raising errors.

    What are the error messages you are seeing?

  • No batch session created for forex run error

    Hello
    We have run the forex run on 31st may and have included the reversal as well(1st June).This got completed sucessfully with revaluation and its reversal the first day of next month.After a week we reset the forex run,then it should reverse both the revaluation on 31st May and reversal posting on 1st June.However when the reset was run ,the period 31st may was closed which was noticed after the forex reset run was .We selected create postings with the batch session and also checked to create batch session if any errors.
    During the reset ,the reversal postings on 1st June got reversed but the forex revaluation on 31st may didnt get reversed(as period was closed).But there is no batch session created.
    Please let us know why the session hasnt got created or what could be the reason why batch session in SM35 is not found,if the period was closed for reversal during reset it should have created batch session.
    Please advice.

    Hi
    If your reversal posting have been generated for 1st June, check also in SM35 if there is a batch session in error under Incorrect Tab/In Process/In Background Tab of SM35
    Thanks & Regards
    Sanil Bhandari

  • h:selectManyListbox creating problem in Navigation.

    Hi ALL,
    I m getting 2 problems while working with selectManyListbox in JSF.
    First Problem:
    My requirement is to transfer values from one List box(ie selectManyListbox) to another, while doing so I m calling the same page in the navigation, but while navigating I m not able to maintain old values of selectItem( ie every time it is initializing � refer java code)
    My jsp code is as follows:
    <f:view>
    <h:form id="frm">
    <h:panelGrid columns="3" border="1">
    <h:panelGroup>
    <h:selectManyListbox id="from" Value="#{up.fromValues} " rendered="#{up.fromFlag} " >
    <f:selectItems value="#{up.fromList} " />
    </h:selectManyListbox>
    </h:panelGroup>
    <h:panelGroup>
    <h:panelGrid columns="4" border="1">
    <h:commandButton value="Left" action="#{up.removeOne} " />
    <h:commandButton value="LeftAll" action="#{up.removeAll} " />
    <h:commandButton value="RightAll" action="#{up.moveAll} " />
    <h:commandButton value="Right" action="#{up.addOne} " />
    </h:panelGrid>
    </h:panelGroup>
    <h:panelGroup>
    <h:selectManyListbox id="to" value="#{up.toValues} " rendered="#{up.toFlag} " >
    <f:selectItems value="#{up.toList} " />
    </h:selectManyListbox>
    </h:panelGroup>
    </h:panelGrid>
    </h:form>
    </f:view>
    And Java code is :
    //fromList � First List from which transferring to 2nd list
    //toList � To list
    //fromString �constant string from which adding options to select box
    private List<SelectItem> fromList;
    private List<SelectItem> toList;
    String[] fromValues;
    String[] toValues;
    String[] fromString = { "1111", "2222", "3333", "4444" };
    String[] toString = {"aaaa","bbbb" };
    public List<SelectItem> getFromList( ) {
    if (fromList == null) {
    fromList = new ArrayList<SelectItem>();
    for (int i = 0; i < fromString.length; i++) {
    SelectItem item = new SelectItem() ;
    item.setValue( fromString[ i]);
    item.setLabel( fromString[ i]);
    fromList.add( item);
    return fromList;
    In the above code initially I m checking for fromList == null, 1st time this condition will be true, but when I call 2ed time ie values are put into fromList, so this condition should become false, but every time this condition is becoming true and initializing fromList all the time.
    Can anyone please tell me where am I going wrong??
    And code to transfer one option from one select box to another is as follows:
    public String addOne() { //This will be called when �Right� button is clicked
    for (int i = 0; i < fromValues.length; i++) {
    SelectItem item = new SelectItem() ;
    item.setValue( fromValues[ i]);
    item.setLabel( fromValues[ i]);
    toList.add(item) ;
    for (int j = 0; j < fromList.size( ); j++) {
    SelectItem it = (SelectItem) fromList.get( j);
    // it.setValue( fromList. get(j));
    if (fromValues[ i].equals( it.getValue( ))) {
    fromList.remove( j);
    return "addOne";
    Second Problem :
    In jsp page as I m using 2 selectManyListbox, until I select one option from both the select boxes, I m not able to submit the form on clicking on commandButton.
    For eg: if I want to transfer �aaa� from first select box ie box1 ={aaa,bbb,ccc} to box2 ={xxx,yyy} , if I select only �aaa� and click on �Right�(commandButton ), it is not submitting the request. IF I select �aaa� and any one of box2 option ( xxx or yyy) and press �Right� then I m able to pass request(ie able to submit the form).
    But I want to submit by selecting only one option from select box (ie box1)
    Can anyone guide me???
    Thanks in advance�.

    First Problem solution:
    Here i did a silly mistake in faces config...ie mananged bean scope I had given was request..so in the next request i was loosing old values...
    "I changed the scope to session"
    Second Problem :
    in commandButton i used another additional attribute ie immidiate = true..
    tht's all................

  • HT1386 I replaced my iPad and now don't see the iPad backup in iTunes.  Any advice?  Should I use my latest iPhone backup or will that create problems?

    I swapped out my broken iPad for a new one, and went to sync in iTunes and only see my iPhone backups.  Should I use those to back it up (most of the apps are the same across both, and same with the email, calendar, and contacts settings).  Will that create problems if I use the same backup for two devices?  Thanks!

    No it will not create problems but if the iPad that you got is running an iOS less than what you are running on the iPhone, you will have to update the iPad first, before you can restore from the phone backup. You can't use the backup of a newer iOS on a device running an older iOS without updating the device first.

  • I wish to rename my drive letter & not create problems

    I had an SSD installed on my PC.  The SSD is 'C' & kept for programs only. The other drive  letters I have currently got displayed don't make much sense.I started with CD burner & Blu-ray burner & got them away from my own files by changing the drive letters to Y & Z.   A USB drive which is red in color is not R drive.
    I want to give the drive that has all of my music files & its catalog data another letter.  I want to do this without having problem with file associations etc.  How is this done without creating problems?  My photos are also on this drive but I know that I can just direct that program to its catalog location.
    Since an SSD is fast enough it apparently doesn't need to be indexed.  What I have done is plugged a couple of my external drives into the PC & had Windows index every drive except 'C'.  I don't know is indexing will automatically updated the index to reflect the new drive letter for my music files but it It doesn't I'll ask for it to be done again.
    Thanks in advance

    Just before I did this I when I opened iTunes I got the message that said that I must have changed by burner or something to the effect & that I had to re install the program.
    I held of doing this because I wanted to change the drive letter first.  This I did & that appears to have worked.
    I hadn't made any changes to DVD burning software.  I did see that there was a new 64 bit version available so I downloaded & installed it.
    The next time I opened the program I got the same message that I needed to re install the program.  When I went to tell it where the library.itl I must have directed it to the wrong library as it asked me again about my account details & wanted my credit cards details.  Only after I give this information did I find that the library that I had nominated was in fact the account for my wife's iPad.
    So now I have 2 major problems firstly I'm linked to my wife's account where it displays the few things she purchased.  My library was make up 100% from all of my old CD's that I had ripped. nothing else.  How do I connect to the other library.itl file?
    The second problem is that even though I downloaded & & installed a new version of iTunes I'm getting the message that I need to reinstall because my burning software has changed & it hasn't.  How do I get past these problems?
    Thanks in advance

  • Hi, I have a macbook pro 17" 2.4ghz intel core 2 duo 2007, will upgrading to Yosemite slow me down or create problems with my Iphone or other app ?

    Hi, I have a macbook pro 17" 2.4ghz intel core 2 duo 2007, will upgrading to Yosemite slow me down or create problems with my Iphone or other app ?

    Yes, i do not suggest upgrading right now. There is some software malfunction or glitch that spontaneously shuts down this specific model. I upgraded and it was a pain to downgrade and make my mac usable again.

  • Can 119 phantom asslys at one bom level  create problem in product costing

    I am going through a scenario where there r 119 phantom assemlies at one bom level. Can this create problem in product costing? It has been told to me by somebody that there can not be more than 99 phantom asslys at one level of bom? Is that true? My problem is that when i am doing product costing it is showing error-" too many dummies at bom level". Is this related to no. of phantom asslys at one bom level?

    HI bala,
    all the materials are costing relevent. I thik this problem is releteted with no. of phantom assemlies allowed at one bom level.
    I had 119 phantom assemlies at bom level 3 of a varient material. At that time it gives me abap runtime error during product costing.
    Now I have removed special procurment key 50 from material master of 20 number of phantom asslys. so now there r now 99 phantom assemlies at bom level 3.
    I have taken costing run and its not giving error.
    so i reached to conclusion that statndard limit of no. of phantom assemlies at one bom level can not exeed 99.
    Now customer requires 119 phantom assleys at this level 3 of bom.
    So can u suggest me whether i should contact sap to increase this limit for this perticular case?
    will they solve my problem or there is any other solution to this?
    please reply.
    nitin

  • Finding association rule (creating problem)

    sir i m working on xquery for finding assocation rule using xquery i complete the conding for how i write xquery for that. but now i found a problem that they give me error that _"Unexpected token "declare function" beyond end of query_" i send me coding part for u plz help me out for how i do.........i m using oxygen xml developer for running the xquery my simple query running proper but we use more than one function in recursive manner they create problem give error Unexpected token "declare function" beyond end of query.
    (: You can activate the content completion by pressing the Ctrl+Space keys. :)
    xquery version "1.0";
    (: Namespace for the <oXygen/> custom functions and variables :)
    declare namespace oxy="http://www.oxygenxml.com/xquery/functions";
    declare namespace global="http://www.oxygenxml.com/xquery/functions";
    (: The URI of the document that is to be queried :)
    declare variable $oxy:document-uri as xs:string := "transaction.xml";
    declare variable $oxy:document-to-query as xs:string := "transaction.xml";
    declare variable $local:document-to-query as xs:string := "transaction.xml";
    declare variable $oxy:document as document-node() := doc($oxy:document-uri);
    let $src := doc("transaction.xml")//items
    let $minsup:=2
    let $total:=count($src)*1.00
    let $c:=distinct-values($src/*)
    let $l:=(for $itemset in $c
    let $items:=(for $item in $src/*
    where $itemset=$item
    return $item)
    let $sup:=(count($items)+1)
    where $sup>=$minsup
    return <largeItemset>
    <items> {$items} </items>
    <support> {$sup} </support>
    </largeItemset>)
    let $L:=$l
    return <largeItemsets>{oxyl:FP-growth($l,$L,$minsup,$total,$src)}
    </largeItemsets>
    _/////that part is fine but we we use next fp-growth function they give same error
    plz sir help me for solving this////*
    declare function oxy:FP-growth(element $l, element $L, element $minsup, element $total, element $src)
    returns element {
    let $f-item:= first item in $L
    let $l-item:= last item in $L
    let $T:=oxy:getl-itemsets($src, $total, $minsup)
    return <items>
    {oxy:join ($l-item, $T)}
    </items>
    let $l:=$l-items
    let $L:=oxy:remove($l)
    for f-item in $L
    where $f-item != $l-item
    return oxy:FP-growth($l, $L, $minsup, $total, $src)
    declare function oxy:getl-itemsets(element $src, element $total, element $minsup)
    returns element {
    let $l:=(for $itemset in $src
    where $itemset=$l-item
    return $itemset)
    let $sup:=(count($l)+1
    where $sup>=$minsup
    return <largeItemset>
    <items> {$item} </items>
    <support> {$sup} </support>
    </largeItemset>
    declare function oxy:join(element $X, element $Y) returns element {
    let $items := (for $item in $Y
    where every $i in $X satisfies
    $i != $item
    return $item)
    return $X union $items
    declare function oxy:removeDuplicate(element $C) returns element
    for $itemset1 in $C
    let $items1 := $itemset1/*
    let $items :=(for $itemset2 in $C
    let $items2 := $itemset2/*
    where $itemset2>>$itemset1 and
    count($items1) =
    count(commonIts($items1, $items2))
    return $items2)
    where count($items) = 0
    return $itemset1
    input file for this xquery is:=
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/css" href="personal-schema.css"?>
    <transactions>
    <transaction id="1">
    <items>
    <title>The Green Mile</title>
    <author>Stephen King</author>
    <item>a</item>
    <item>d</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="2">
    <items>
    <title>The Green Mile</title>
    <author>J. D. Salinger</author>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="3">
    <items>
    <title>The Green Mile</title>
    <author>Issac Asimov</author>
    <item>a</item>
    <item>c</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="4">
    <items>
    <title>The Green Mile</title>
    <author>Isaac Asimov</author>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="5">
    <items>
    <title>The Green Mile</title>
    <author>Oscar Wilde</author>
    <item>a</item>
    <item>b</item>
    </items>
    </transaction>
    </transactions>
    Edited by: 920412 on Mar 12, 2012 11:26 PM
    Edited by: 920412 on Mar 14, 2012 10:57 PM
    Edited by: 920412 on Mar 14, 2012 11:17 PM

    thank u sir my code is running
    but there is one problem the result he regerate is not correct sir
    i send the complete information to u my input file my project code my output file and my actual output that i need ......plz sir chek it where is he logical mistak in code i completely chek lots of time i m not able to find where is the logical mistak plz sir help me
    input file "transactions.xml"
    <?xml version="1.0" standalone="yes"?>
    <transactions>
    <transaction id="1">
    <items>
    <item>a</item>
    <item>d</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="2">
    <items>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="3">
    <items>
    <item>a</item>
    <item>c</item>
    <item>e</item>
    </items>
    </transaction>
    <transaction id="4">
    <items>
    <item>b</item>
    <item>c</item>
    <item>d</item>
    </items>
    </transaction>
    <transaction id="5">
    <items>
    <item>a</item>
    <item>b</item>
    </items>
    </transaction>
    </transactions>
    coding :=
    xquery version "1.0";
    declare namespace local = "http://www.w3.org/2003/11/xpath-local-functions";
    declare function local:join($X as element()*, $Y as element()*) as element()* {
    let $items := (for $item in $Y
    where every $i in $X satisfies
    $i != $item
    return $item)
    return $X union $items
    declare function local:commonIts($X as element()*, $Y as element()*) as element()* {
    for $item in $X
    where some $i in $Y satisfies $i = $item
    return $item
    declare function local:removeIts($X as element()*, $Y as element()*) as element()* {
    for $item in $X
    where every $i in $Y satisfies $i != $item
    return $item
    declare function local:candidateGen($l as element()*) as element()* {
    for $freqSet1 in $l
    let $items1 := $freqSet1//items/*
    for $freqSet2 in $l
    let $items2 := $freqSet2//items/*
    where $freqSet2 >> $freqSet1 and
    count($items1)+1 = count($items1 union $items2)
    and local:prune(local:join($items1,$items2), $l)
    return
    <items>{local:join($items1,$items2)}</items>
    declare function local:prune($X as element()*, $Y as element()*) as xs:boolean
    every $item in $X satisfies
    some $items in $Y//items satisfies
    count(local:commonIts(local:removeIts($X,$item),$items/*))
    = count($X) - 1
    declare function local:removeDuplicate($C as element()*) as element()*
    for $itemset1 in $C
    let $items1 := $itemset1/*
    let $items :=(for $itemset2 in $C
    let $items2 := $itemset2/*
    where $itemset2>>$itemset1 and
    count($items1) =
    count(local:commonIts($items1, $items2))
    return $items2)
    where count($items) = 0
    return $itemset1
    declare function local:getLargeItemsets($C as element()*, $minsup as xs:decimal, $total as xs:decimal, $src as element()*) as element()*
    for $items in $C
    let $trans := (for $tran in $src
    where every $item1 in $items/* satisfies
    some $item2 in $tran/*
    satisfies $item1 = $item2
    return $tran)
    let $sup := (count($trans) * 1.00) div $total
    where $sup >= $minsup
    return <largeItemset> {$items}
    <support> {$sup} </support>
    </largeItemset>
    declare function local:fp-growth($l as element()*, $L as element()*, $minsup as xs:decimal, $total as xs:decimal, $src as element()*) as element()*
    let $C := local:removeDuplicate(local:candidateGen($l))
    let $l := local:getLargeItemsets($C, $minsup, $total, $src)
    let $L := $l union $L
    return if (empty($l)) then
    $L
    else
    local:fp-growth($l, $L, $minsup, $total, $src)
    let $src := doc("transactions.xml")//items
    let $minsup := 0.5
    let $total := count($src) * 1.00
    let $C := distinct-values($src/*)
    let $l :=(for $itemset in $C
    let $items := (for $item in $src/*
    where $itemset = $item
    return $item)
    let $sup := (count($items) * 1.00) div $total
    where $sup >= $minsup
    return <largeItemset>
    <items> {$itemset} </items>
    <support> {$sup} </support>
    </largeItemset>)
    let $L := $l
    return <largeItemsets> { local:fp-growth($l, $L,$minsup, $total, $src) }
    </largeItemsets>
    output that is get for running the query:=
    <?xml version="1.0" encoding="UTF-8"?>
    <largeItemsets>
    <largeItemset>
    <items>a</items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <items>d</items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <items>b</items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <items>c</items>
    <support>0.6</support>
    </largeItemset>
    </largeItemsets>
    but sir i want my output like that:=
    <?xml version="1.0" standalone="yes"?>
    <largeItemsets>
    <largeItemset>
    <Items>
    <item>a</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>d</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>b</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>c</item>
    </Items>
    <support>0.6</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>d</item>
    <item>b</item>
    </Items>
    <support>0.4</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>b</item>
    <item>c</item>
    </Items>
    <support>0.4</support>
    </largeItemset>
    <largeItemset>
    <Items>
    <item>d</item>
    <item>c</item>
    <item>b</item>
    </Items>
    <support>0.4</support>
    </largeItemset>
    </largeItemsets>
    sir i want that out which i shown last help me sir how i sort out this problem
    thank i advance

Maybe you are looking for

  • Forzen gray screen at boot

    I'm using an iMac that was new in Dec '12. 27-inch I think it's still the current model. Lately I've been getting long if not terminal hang-ups at boot on the plain gray screen. The only system maintenance I have with this Mac is to confirm and corre

  • Order w/ Partial Payment Card

    Can you process an order for partial payment card and the balance thru normal AR?  Today we manually authorize our credit cards on our orders.  When we process an order where the authorized amount of the credit card is not equal to the net value + ta

  • Bug Hyper-V Installation

    I installed Hyper-V to developp Windows Phone apps on Visual Studio 2013. When I finished installing all my USB ports stopped working. I uninstalled and everything went back to normal. I'm currently using Windows 8 on a Dell Inspiron 14 (N4050).

  • SNAP_NO_NEW_ENTRY runtime error

    hi all, while i am running sgen i got runtime error(dump)SNAP_ NO_NEW_ENTRY. when i try to maintain that table SNAP through DB02 again throwing dump so no transaction is working .so please how can i modify at OS(windows 2003) level .Which is SQL data

  • How do you configure a BB curve 8530 to work with Mac over Bluetooth?

    I have the latest version of Mac OS X. I can get my BB to pair, but I can't get it to do anything (like wirelessly sync, import photos, etc).. Thanks.