An array of strings from a file?

I have a file with 2000 names and want to make an array of type string................
When i compile and run all all i get is null values in my array?
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Scanner;
import java.io.IOException;
public class Names
          private String name;
          private String surname;
          PrintWriter output = null;
          String[] LastName = new String[2000]; //set up array of first names
          String[] Name = new String[2000];; //set up array of first names
     public void setSurname(String suname)
          this.surname=suname;
     public String getSurname()
          return surname;
     public void loadFromFile(String fname) //method loads form text file
          File file = new File("SURNAMES.txt");
          Scanner in = null;
          try {
                in = new Scanner(file);
                 catch (FileNotFoundException fnfe)
                    System.out.println("File not found");
                int x=0;
                while(in.hasNextLine())
                  surname = in.next();
                    LastName [x] = new String(surname);
                  x++;
               in.close();
public void test()
          for (int i = 0; i < 44; i++)
          System.out.println(LastName);
Can anyone see why its not reading?

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
import java.io.PrintWriter;
public class ResultPredictor
     public static void main (String args[])
          Names play = new Names();
          //display menu to user & process user choice
          Scanner input = new Scanner(System.in);
          int choice = 0;
          while(choice!=4)
               System.out.println("__________________________________________________________");
               System.out.println("");
               System.out.println("[1] Join the names");
               System.out.println("[2] Display names that both name start with the same letter");
               System.out.println("[3] Search for names starting with a letter");
               System.out.println("[4] Exit");
               System.out.println("");
               System.out.print("What is your choice? ");
               System.out.flush();
               //check and process an integer choice
               if (input.hasNextInt())
                    choice=input.nextInt();
                    switch(choice)
                              case 1:
                                   play.test();
                                   break;
                              case 2:
                                   break;
                              case 3:
                                   break;
                              case 4:
                                   System.out.println("\nGOODBYE!!\n\n");
                                   break;
                              default:
                                   System.out.println("Please enter a valid menu option (1-4)");
                                   System.out.println("");
                                   break;
               else //choice was not an integer
                    System.out.println("Please enter a valid menu option (1-4)");
                    input.next(); //move on
          }//end loop
     }// end main
}when i run the code it returns null values, the SURNAMES.txt file is in the same folder. Could it be the way the files is delimited, its like so.........
a
b
c
d
e
f
g
and so on....

Similar Messages

  • Remove string from txt file

    Hello guys,
    I need some help. I have to remove some content of Tolerance "column" (see attach). The string which I wish to remove is "+/- 0s" and replace it with an empty string. I need to remove this for each row where "+/- 0s" appears.  
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    sample.txt ‏3 KB

    Hi Samoth,
    I dont know if I understood your requirement properly, but please check the attached snippet if it helps.
    If this does not satisfy your requirement, then please give some more details.
    Attachments:
    Remove string from txt file.png ‏21 KB

  • Hello i need a help about script to export translatable text strings from ai files and import them back

    Hello i need a help about script to export translatable text strings from ai files and import them back after editing, thanks in advance

    Lanny -
    Thank you for taking the time to help with this problem. Can I just say however that as someone who has posted a first comment here and quite clearly never used a forum like this before, your comment unfortunately comes across as very excluding. It makes me feel there are a set of unwritten rules that I should know, and that I don't know them shows that the forum is not for me. In short, it's exactly the kind of response that stops people like me using forums like this.
    I'm sure it's not intended to be received like this and I am sure that the way you have responded is quite normal in the rules of a forum like this. However, it is not normal for those of us who aren't familiar with forums and who only encounter them when they have a genuine problem. This is why I hope it is helpful to respond in full.
    The reason I posted here is as follows. I was directed here by the apple support website. The original comment seemed to be the only one I could find which referred to my issue. As there is no obvious guidance on how to post on a forum like this it seemed perfectly reasonable to try and join in a conversation which might solve more than one problem at once.
    Bee's reply however is both helpful and warm. This could in fact be a template for how new members should be welcomed and inducted into the rules of the forum in a friendly and inclusive way. Thank you very much indeed Bee!

  • Need to get a particular string from a file!!

    Hi-
        In a linux server,i need to pull some data from the logfiles from the dir "
    /dev/bld/autosys/autosys-be/jobs/",under this dir we have so many applications like- ada-2013.06.0,bda-2013.06.0,cda-2013.06.0 etc...
          Which are also directories(
    ada-2013.06.0,bda-2013.06.0,cda-2013.06.0) under this each dir ,we can find a logfile.
          from the logfile we need to pull some data to generate a report.
           Here in the logfile we could find a request name "xyz
    -sib_ada-2013.06.0" after the string "ci-" in every part of logfile,so i would like to pull this information from the logfle after that i would like to issues the command "p4 branch xyz-sib_ada-2013.06.0" to get source and target details.
    if you issue the above command it looks like...
    Branch:xyz-sib_ada-2013.06.0
    Update: 2013/05/13 12:25:28
    Access: 2013/05/31 13:48:56
    user : xxx
    Description:
            Created by xxxx
    status :        unlocked
    View:
            //xyz-sib/fb-download-app/ada-server/mda-2013.05.0/... //xyz-sib/fb-download-app/ada-server/mda-2013.06.0/...
    here i would like to pull the string as source thing as    //xyz-sib/fb-download-app/ada-server/mda-2013.05.0/
    target    -
    //xyz-sib/fb-download-app/ada-server/mda-2013.06.0/...

    Hi,
    Its very hared to understand what you want, if i understand correctly  you want to find some set of string from the files  in a diretory
    if yes you can do something like this
    cd /dev/bld/autosys/autosys-be/jobs/
    find . -type f -exec grep "<string you want to serch>" {} \; -print
    It will list the file having some set of string you are serching..
    HTH

  • Problem with reading String from Xlsx file.

    Hi! I am trying to read string and numerical data from an xlsx file and trying to display its contents in a word file. I tried converting it to a .lvm file too. On using the "Read From Spreadsheet" tool, I get random characters as output. On using " Read From Measurement File" tool, I am getting an error saying "Error 100 occurred at Read From Measurement File->Untitled 1". What do I do? At the end I need to display the output, row by row, in a Microsoft Word file. I am so lost. Please Help.
    Solved!
    Go to Solution.

    bsvare wrote:
    labview currently does not read directly from an xlsx file. If you convert the xlsx to an xls file first, then you can use the read from spreadsheet tool to load the data from the file.
    Hey, I tried doing that. It still just gave the values 0.00 in all the cells of the indicator array. Plus my file has string in it also. The data type in the spreadsheet was "general". Here in the tool, it is "Double". I changed the tool data type to string and spreadsheet to text but I only got gibbrish for my efforts.
    Thanks anyway!

  • Pulling text strings from a file in Quartz Composer

    I want to create a screensaver that randomly displays quotes from a specified file. It doesn't matter how the file is formatted -- txt, xls, etc. -- as long as Quartz can randomly display quotes from the file. I know how to display text strings in Quartz, and I know how to randomize graphic functions, but not how to randomize display of text strings.
    Any ideas?

    Here is a shuffling algorithm:
    http://tekpool.wordpress.com/2006/10/06/shuffling-shuffle-a-deck-of-cards-knuth- shuffle/
    Basically, pass through the file once to get the number of strings (n), than shuffle an array of integers 1 to n using an algorithm like the above. As each number comes up, pull that string out of the file.

  • Extracting string from a file name

    Hello,
    I have a legacy (read: I didn't build it) SharePoint list  that includes some validation when uploading files that's giving me some trouble.
    Basically, our users are required to add files to a list in a certain filename format and based on the naming convention are approved/rejected and routed to the appropriate location.
    One of the validations looks at a section of the file name and compares it to a folder name in the library.
    For example, the file name format is XX_AAA_999_2014_05.xlsx and that matches on the folder name of /submissions/2014_05
    Currently the rule says look at the last 7 characters of the folder and the 7 characters starting at position 12 of the filename and make sure they match.
    The problem is the 999 in the example above is a sequential identifier to the project a file is associated with... e.g. they range from project 000 to project 999. We've now hit project 1000 so file being added for project 1000 (and beyond) fails because
    the starting position has shifted one spot. (Note: we have active 3 digit projects so I cannot simply change that to be position 13... not to mention what that does to my history).
    So, my task is to come up with something that can accomodate 3 or 4 digit numbers.
    I'm trying to stick as closely to the original setup so I don't mess up the history so I'm looking at other methods of getting to the same data in the string.  Another problem is that the file names include the extension and the extension can be 3 (pdf)
    or 4 (xlsx) characters long.
    I've tried this:  =LEFT([Source File Name],SEARCH(".",[Source File Name])-1)
    but that brings back everything in front of the period and I need just the 7 preceeding characters.  Is there a way to limit the number of chars a LEFT() function returns?
    In a nutshell, the 4 variations of file names are as follows of which I need to extract the
    bolded section.:
    ZZ_AAA_999_2014_05.xls
    ZZ_AAA_999_2014_05.xlsx
    ZZ_AAA_1000_2014_05.xls
    ZZ_AAA_1000_2014_05.xlsx
    Thanks!
    Kevin

    Hi,
    According to your description, you might want to retrieve the string “2014_05” from the file name.
    I would suggest you create a SharePoint Designer workflow and implement your logic of handling the filename.
    In SharePoint Designer 2010, there are already some useful utility workflow actions which can enable users to deal with the various requirements come from the business scenarios.
    For the string handling, you can consider to use the
    Utility Actions:
    http://msdn.microsoft.com/en-us/library/office/jj164026(v=office.15).aspx
    Another two links about creating SharePoint Designer workflow for your reference:
    http://office.microsoft.com/en-001/sharepoint-designer-help/introduction-to-designing-and-customizing-workflows-HA101859249.aspx
    http://www.codeproject.com/Tips/415107/Create-a-Workflow-using-SharePoint-Designer
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • To read string from another file

    Dear friends
    I am working on a project where i need to read log files which are there on my C drive.
    I got a folder and from that i need to read string from another folder and name them as URL,TS etc..so any body have any idea about this...

    I have no idea what you're even trying to do. Can you try explaining your problem more clearly and in more detail?

  • How to append a string from a file to a string???????????

    hi there
    the following code reads a line from a file,
    while (true)
    try
    line = br.readLine();
    catch (IOException e)
    System.out.println("Error reading data file");
    System.exit(1);
    if (line == null) break;
    st = new StringTokenizer(line, delimiterString);
    n = st.countTokens();
    if (first == 0) first = n;
    if (n != first)
    System.out.println("Data format error!");
    System.exit(1);
    how will i append the line to itself each time the loop runs? the line should contain all the lines in the file, not just a single line. thank you

    You can make a StringBuffer object with the same scope as the line String and keep appending to the StringBuffer. You can use StringBuffer's toString() method to get a String back when you need it. You can also do this with a String instead of a StringBuffer using +=, but the String buffer is a lot more efficient.
    StringBuffer wholeFile = new StringBuffer();
    while (true)
    try
    line = br.readLine();
    wholeFile.append(line);  // or put this wherever it makes most sense
    catch (IOException e)
    System.out.println("Error reading data file");
    System.exit(1);
    if (line == null) break;
    st = new StringTokenizer(line, delimiterString);
    n = st.countTokens();
    if (first == 0) first = n;
    if (n != first)
    System.out.println("Data format error!");
    System.exit(1);
    }

  • Reading A String From A File

    Having Difficulties Parsing a file for specific information. How do you either convert a int (from the read class) to a stream or how do you read a stream directly from a file?
    Also need to know how can ensure that tags within an XML document do not overlap...
    any help is appreciated -- thank you...
    import java.io.*;
         public class Check
         public static void main(String[] args) throws IOException
              if (args.length != 1)
                   System.out.println("JAVA Check <doc.xml>");
                   return;
              String fileName;
              fileName = args[0];
              if (fileName.endsWith(".xml"))
                   System.out.println("THE FILE IS A VALID XML FILE");
                   else
                   System.out.println("NOT A VALID XML FILE");
              File inFile=new File(args[0]);
              FileReader fr=new FileReader(inFile);
              File outFile=new File(args[0]);
              FileWriter fw=new FileWriter(outFile);
              String frontopentag = "<";
                   Check fot=new Check();
                   int countfrontopentag = 0;
              String frontclosetag = "</";
                   Check fct=new Check();
                   int countfrontclosetag = 0;
              String backclosetag = ">";
                   Check bct=new Check();
                   int countbackclosetag = 0;
              int c=0;
              c=fr.read();
              while (c != -1)
                   fw.write(c);
                   c=fr.read();
                        if (fot.equals("<"))
                        ++countfrontopentag;
                        return;
                        if (fct.equals("</"))
                        ++countfrontclosetag;
                        return;
                        if (bct.equals(">"))
                        ++countbackclosetag;
                        return;
                        if (countfrontopentag != countfrontclosetag)
                        System.out.println("CHECK THAT THE OPENING OF THE TAGS ARE BALANCED, '<...' AND '</...'");
                        else
                        System.out.println("OPENING TAGS ARE BALANCED, '<...' AND '</...'");
                        if(countbackclosetag%2 == 0)
                        System.out.println("CLOSING TAGS ARE BALANCED, '...>'");
                        else
                        System.out.println("CHECK THAT THE CLOSING TAGS ARE BALANCED, '...>'");
                        if((2*countbackclosetag) != countfrontopentag)
                        System.out.println("CHECK THAT THE NUMBER OF '<...' AND '</...' EQUALS THE NUMBER OF CLOSING TAGS, '...>'");
                        else
                        System.out.println("THE NUMBER OF '<...' AND '</...' EQUALS THE NUMBER OF CLOSING TAGS, '...>'");
              fr.close();
              fw.close();
              } //close main
         } //close class

    Well... I have no idea of how much java you know, so please forgive me if I state something you already know by heart.
    your best bet for the integer is reading by characters,
    testing them, (Character.isDigit(a valid character)) and the Character.digit(char ch, int radix) method.
    char ch;
    forloop
    ch = aString.charAt(i);
    if (Character.isDigit(ch))
    while your best bet for overlapping brackets and such would be to use a number, and add to it whenever there is a left-hand bracket, and subtract from it, whenever there is a right-hand bracket. or use a stack to save the characters within the brackets and then, whenever you find a right-hand bracket, evaluate the string up to the point of the last left-hand bracket.

  • Access function module string from JSP file

    Hello,
    I an a Java person with very little knowledge of ABAP. I have a Function Module, which returns the String - Y_text with value "X" or "Y". Now, I want to use this "X" or "Y" in my JSP page. And based on the value do some things. Eg:
    If (Y_text == "X")
        "Value is X"
    How do I pick up the valus of Y_text from the function module?
    I know how to get the values from Extention Data like below, but this does not seem to be working in case of the String from function module.
    String Y_text = (String) userSessionData.getAttribute("Y_text");
    Kindly suggest.

    Hi Shaun,
    Check the below link, it discusses about calling function module from ISA. Its a nice beginner's tutorial
    by Sateesh. You can copy the code given in ZAction.java in your jsp and get the values from FM.
    http://sites.google.com/site/sateeshchandrach2/isa2
    Hope this helps you!
    Regards,
    Arshi

  • REP-0002: Unable to retrieve a string from the Report Builder message file;

    Hi,
    I've a custom report in which i need to display a large string, of more than 4000 characters. To cater to this requirement i've written a formula column which displays string upto 4k characters and for a string of size beyond 4k i am calling a procedure which uses a temp table having a clob field.
    For a small string the report runs fine but whenever a large string requirement comes into the picture, said procedure gets triggered and i get REP-0002: Unable to retrieve a string from the Report Builder message file.
    OPP log for the same gives an output as under:
    Output type: PDF
    [9/21/10 2:17:12 PM] [UNEXPECTED] [388056:RT14415347] java.io.FileNotFoundException: /app/soft/test1udp/appsoft/inst/apps/e180r_erptest01/logs/appl/conc/out/o14415347.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    Report Builder 10g
    BI Publisher's version : 4.5.0
    RDBMS Version : 10.2.0.4.0
    Oracle Applications Version : 12.0.6
    Searched for the same on metalink and found Article ID 862644.1, other than applying patch and upgrading version of BI Publisher is there any other workaround to display a comma seperated string as long as 60k characters, If any please suggest.
    Thanks,
    Bhoomika

    Metalink <Note:1076529.6> extracts
    Problem Description
    When running a *.REP generated report file you get errors:
    REP-00002 Unable to retrieve string from message file
    REP-01439 Cannot compile program since this is a runtime report
    Running the same report using the *.RDF file is successful.
    You are running the report with a stored procedure,
    OR you are running against an Oracle instance other than the one developed on,
    Or, you recently upgraded your Oracle Server.
    Solution Description
    1) Check that the user running the report has execute permissions on any stored
    SQL procedures called. <Note:1049458.6>
    2) Run the report as an .RDF not an .REP , that is remove or rename the .REP
    version of the report. <Note:1012546.7>
    3) Compile the report against the same instance it is being run against.
    <Note:1071209.6> and <Note:1049620.6>

  • How to read a string from file & assign the val to a variable in batch file

    Hi,
    How to read a string from a file and assign the value to a variable then return the value to the screen in windows batch file?
    Any suggestions?
    thanks.

    Unless this is a homework question then I don't see the purpose of doing this, but....
    You should be looking a the supplied package utl_file to get the string out of the file, dbms_output to display the string and then google windows batch/command files calling sqlplus to execute your program.
    Andre

  • Help with deleting multiple strings from file.......

    I am trying to delete the same string that may appear multiple times in the file. Here is the output to the screen. Here is the code. I have been researching the delete method it says that I have to start at an index position in the string but how would I find out where the multiples strings reside in the file? I am getting the feeling that it won't work for my purpose..???? I am trying to delete all ot the strings "a string of data3" from the file.
    Output
    C:\TestRead>java StringDelete
    Temp String file_data-------- a string of data3a string of data2a string of data
    1a string of data3a string of data2a string of data1a string of data3
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data3
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data2
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data1
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data3
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data2
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data1
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    String toDelete-------- a string of data3
    Just A Blank Line
    Just A Blank Line
    Just A Blank Line
    Code:
    import java.io.*;
    public class StringDelete
    public static void main(String [] args)
    try
    FileInputStream fis = new FileInputStream("TestFile.txt");
    DataInputStream in = new DataInputStream(fis);
    StringBuffer file_data = new StringBuffer();
    while(in.available() > 0)
    String temp = in.readUTF(); // read in a string from the file
    file_data.append(temp); // append it to the buffer
    System.out.println("Temp String file_data-------- " + file_data);
    System.out.println("Just A Blank Line");
    System.out.println("Just A Blank Line");
    System.out.println("Just A Blank Line");
    boolean keepGoing = true;
    while(keepGoing)
    String toDelete = file_data.substring(0, "a string of data3".length());
    System.out.println("String toDelete-------- " + toDelete);
    System.out.println("Just A Blank Line");
    System.out.println("Just A Blank Line");
    System.out.println("Just A Blank Line");
    if(toDelete == null || toDelete.equals("") )
    keepGoing = false;
    else
    file_data.delete(0,"a string of data3".length());
    catch(IOException e)
    e.printStackTrace();

    Here is the output. I am trying to get each part to work before I go on to the next part that is why some code is commented out.
    I need help to know why string "a string of data3" is not deleted in the towrite string??
    Output:
    C:\TestRead>java NewStringDelete
    String v after remove [ &#9668;a string of data3 &#9668;a string of data2 &#9668;a string of data1
    &#9668;a string of data3 &#9668;a string of data2 &#9668;a string of data1 &#9668;a string of data3]
    String towrite after remove &#9668;a string of data3 &#9668;a string of data2 &#9668;a string of
    data1 &#9668;a string of data3 &#9668;a string of data2 &#9668;a string of data1 &#9668;a string of data
    3
    Code:
    import java.util.Vector;
    import java.io.*;
    public class NewStringDelete
         public static void main(String [] args)
              //String ls = System.getProperty("line.separator");
              //File file;
              Vector v=new Vector();
         try{
              BufferedReader br=new BufferedReader(new FileReader ("TestFile.txt"));
              String s;
              while ((s=br.readLine())!=null)
                   {v.addElement(new String(""+s));}
                        br.close();
         catch(IOException e)
                   e.printStackTrace();
    /*now you have a Vector containing String objects..*/
         String remove = ("a string of data3");
         String towrite="";
    System.out.println("String v after remove " + v);     
         for (int i=0; i<v.size();i++)
              String ss = (String)v.elementAt(i);
              if (ss.equalsIgnoreCase(remove)){continue;}
              //     towrite=towrite+ss+ls;
                   towrite=towrite+ss;
    System.out.println("");               
    System.out.println("");               
    System.out.println("String towrite after remove " + towrite);                    
    /*do filewrite*/
    //try{
    // FileWriter fw=new FileWriter(TestFile.txt);
    // fw.write(towrite);
    // fw.close();
    // catch(IOException e)
    //               e.printStackTrace();

  • How to append data from one file to another

    Hello,
    I am trying to replace one column of numbers in a 2D array with a unique string from another file.
    Pos.    Serial    Gain
     2        3252        4
     4        15697      4
     6        15543      4
    I want to replace the "4" in the third column with a string obtained from another file, such as;
    Serial # 3252 Fuel Cell # arxe-2282
    Time and date 09:47   09/08/07
    Version 4.0
    Serial # 1234 Fuel Cell # arxf-0047
    Time and date 09:50   09/08/07
    Version 4.0
    In this case, I want to replace the "4" in the first row of the top file (after the header) with "arxe-2282" from the file just above.
    This means I need to search though the second file (which will have multiple entries) and find the same serial number (in this case "3252") and then write the "arxe-2282" string in place of the "4" in the top file, right next to the "3252" number there.
    The search part is proving difficult. I can replace the "4" easy enough, but only if I already know where the "arxe-2282" is in the second file.
    Any ideas?
    Tay

    try this.....
    the program uses the match pattern and scan from string functions.  And there is still room for improvement.
    If you have to do is more often with bigger files, you should create a lookup table first. currently the files is scanned each time ....
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Attachments:
    find location.vi ‏11 KB

Maybe you are looking for

  • Problems with typing in mac os lion

    hello, just two days ago I had some problems with my MacBook Pro running with Lion, I just went to update my mac os 10.7.3 to 10.7.4 and suddenly it failed to instal just then I was told to restart my computer. Ater I restarted the computer there was

  • Photo will not print

    I am using Adobe Photoshop Elements 8 and trying to print photos.  When I have set it all up ready for printing and press the print button  a box opens with the comment "Another computer is using the printer" "The following status is the usage status

  • Jsp in javascript

    hi can we use jsp in javascript for eg: <script> if(flag) <% respone.sendRedirect("--"); %> </script> or is there any other way of doing this type of things this is only an example. thx -jay

  • TS3988 mail password not valid

    I can get mail on my iPhone and iPad, but prefer to get it on my computer because it "manages" for me.  When I try to get mail, it says my password is not valid. Have changed it on all my devices and on iTunes.  any ideas about what's going on?  than

  • What's up with Session timeout.  That is all I can get anymore?

    What's up with Session timeout?  That is all I get anymore with I Tunes Store.