Cookies...I need alternatives to using them...

I need to create a text only version of the portal to meet
requirements of the Federeal Gov't's Disabilities Act...
So, I'm scraping the content of the Portal Pages (pages from
v1.0.2.2) by basically creating another middle tier (db ->
application server -> scraper -> browser).
The issue is COOKIES. I loose them at the "scraper" tier. And
for some reason, I can't retrieve the Oracle Portal generated
cookies from the client machine. The result is a "security
error" when rendering portlets on a page with non-public access
requirements.
So, how can I maintain the user's session WITHOUT the use of
cookies? I would think this would have to be done for the WAP
version of the portal...but then again, maybe not.
Please help!
Thanks,
Ryan Stefani

Hi,
How abt using HttpSession ? This is one of the modes of session
maintenance in a J2EE scenario. Typically, when you go for a MVC
architecture in Java, a controller (a servlet, which typically
maintains session info), a view (a JSP, which is called from the
servlet and also the UI) and a model (an EJB, which represents
data). This class is in Servlet API.
Hope this helps,
--Rajesh

Similar Messages

  • How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    You can certainly use iWork, though I hesitate to recommend it to a seasoned Windows user simply because it would add another level of the unfamiliar with which you would have to gain familiarity. The iWork applications are certainly very competent and in most respects both easy to use and surprisingly powerful. They are not 100% compatible however, though that typically manifests itself in document formatting issues rather than anything more significant.
    I have never attempted to import emails from a Windows system into MacOS - other than in Outlook connected to an Exchange server, thus not really an issue at all. I doubt that the Mail app in MacOS can import directly, but of course you could always set the account(s) up on the Mac and then forward emails you want to keep from the PC. Not elegant, but it works. Virtually any Windows document or file, whichever application created it, can be opened or converted for use on a Mac, and using both systems on my desk each day I rarely see any issues switching stuff from one machine to the other. You may stumble over one or two issues, but likely not significant.
    In switching platforms there will be some inevitable issues, not so much with being able to import your stuff because there's usually a workaround or a utility that can help, but just with getting familiar with the platform and the differences between Windows and MacOS that can obscure their similarities. From time to time the support community here hears from a user who has found the migration very problematic and regrets it, but for the most part the phrase 'I should have done this years ago...' is rather more prevalent!

  • I have the 1st generation ipod touch i installed an update which now it is 3.1.3 version i was able to put my apps on it but when i want to use the apps it will not let me use them. what do i need to do?

    I have the 1st generation ipod touch i installed an update which now it is 3.1.3 version i was able to put my apps on it but when i want to use the apps it will not let me use them. What do i need to do?

    Does it happen with the apps that came with the iPod?
    Does it happen with all apps you have downloaded/installed?
    Have you ried deleting the apps and redownload/install the apps?  You will not be charged again if you are signed into the same iTunes account that originally purchased the apps.
    Next would be to restore from backup
    Last would be to restore to factory defaults/new iPod.

  • I have cookies enabled but some websites are still telling me I can't use them because I don't have cookies?

    I have cookies enabled but some websites are still telling me I can't use them because I don't have cookies?

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test. If the sites still don't work, they're incompatible with Safari. Use another browser, such as Firefox, to access them.

  • Firefox doesn't recognize my cookies anymore. I see the cookies in Preferences/Privacy, but Firefox isn't using them.

    I have to log into all my sites all over again. My cookies aren't recognized. I see the cookies when I go to FF Preferences Privacy tab. But Firefox isn't using them: I have to log in to sites I've previously visited. Firefox just started doing this suddenly: no crash preceded it. What to do?

    In case you are using "Clear history when Firefox closes":
    *do not clear the "Cookies" and the "Site Preferences"
    *Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • Apps need to have apple id and password entered in order to use them, how do i turn that off

    apps need to have apple id and password entered in order to use them, how do i turn that off???

    Are you signed in with the same Apple ID that was used to purchase them?

  • Friend of mine bought movies(ITunesStore)one of the 5 devices that she could use is my Mac.She needs to use the movies on another device and for that I have to erase them,how do I do that?I deleted them but she can't still used them?How delete themsurely?

    Friend of mine bought some movies (ITunesStore) one of the 5 devices that she could use them in is my Mac. She needs to use the movies on another device and ask me for delete the conection in my laptop.  For that I erase them in Itunes, but she can't still used them? How delete the conections between my computer and her account?
    Thank you for your answer.

    Hello there, Ingridvon.
    The following Knowledge Base article provides the information you are looking for:
    iTunes Store: About authorization and deauthorization
    http://support.apple.com/kb/HT1420
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Forgot icloud password, how to get it recover without any question and also alternative email becuase someone hacked my alternative email id. need password for using icloud hopefully i will get result from you as your earliest.

    forgot icloud password, how to get it recover without any question and also alternative email because someone hacked my alternative email id. need password for using icloud hopefully i will get result from you as your earliest.

    I'm sorry, but I know nothing about iCloud email. I stayed away from iCloud email and only use iCloud for limited purposes.
    But take a look at this discussion and read the response from randers4. He is one of the iCloud experts in the Apple Support Communities.
    https://discussions.apple.com/message/24358339#24358339
    If that doesn't help, you might be better off posting in here where there are other more knowledgable iCloud users.
    https://discussions.apple.com/community/icloud/icloud_on_my_ios_device

  • HT5243 How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? ( I'm not very literate in computer-speak.

    How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? (Obviously I'm not very literate in computer-speak.)

    Well, when you go to a web page a section of the web page will have a coffee cup picture where the java applet will run. The applet loads then runs. If you are not seeing this behavior then you are not using java. If it make you feel more comfortable then disable the browser java plugin. On my machine I have not disable java- but you
    may what to.

  • I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, until the next time I need to use it and it does not get recognized again. Is there any fi

    I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, starting the vicious cycle again: i need to use the password, it does not get recognized three times, then the system asks me to change it again, and again, and I am stuck!! Is there any fix for this "glitch?

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • Yoga 3 Pro - Certain Keys Missing from Keyboard. How to virtually use them?

    Hi.
    I have bought this for about a week and was not happy about the combination of "Home" and "End" keys since I use them a lot. In using VMWare I noticed there is no "Insert" key on the keyboard at all, thus I cannot use the Ctrl+Alt+Insert functionality in my virtual machines. Today, a random combination of keys was pressed on the keyboard and the "Scroll Lock" was enabled, and guess what: There is no scroll lock in the Yoga 3 Pro! Now I have no idea how to disable this again and non of the forums or manuals have addressed this.
    (Lenovo design team has made is specifically hard for users. Not only the keyboard layout and certain keys are removed, but even I cannot find a spare chargin cable for my officec. They have changed everything - even Yoga 2 Pro charging cable is not compatible - and yet not available in the market. Not a very smart strategy )
    Solved!
    Go to Solution.

    Welcome to the forum!
    I'm sorry to hear about your problem. I had to really take a look at my own Y3P to realize there is no Insert key, I guess I got too used to the touchscreen 
    To get rid of the Scroll Lock you can press the combination Fn+C.
    Alternatively you can also go to the Control Panel, then "Easy of Access Center" and start the On-Screen Keyboard, you can disable the Scroll lock from there too.
    /L40SX/240/240X/2*340CSE/360PE/365XD/380D/380E/380XD/380Z/390/560E/560X/2*570/2*600/600E/750Cs/755C/760CD/760EL/760XD/770E/A20p/A22p
    A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T4x0x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/10*X2xx/2*X200T/4*X30x/Z60m/3*Z61x
    Comunidad en Español  English Community  Deutsche Community   Русскоязычное Сообщество

  • Reading values from JTextField and using them?

    Hello,
    I am trying to make a login screen to connect to an oracle database. Im pretty new to creaing GUI. I need help with reading the values from the JTextField and to be able to use them for my connection. So do I need to apply a listener? How do I go about doing that in this project. Thanks for any code or advice.
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.sql.*;
    public class UserDialog
        String databaseURL;
        String driver;
        String database;
        String username;
        String password;
        String hostname;
        String port;
        UserDialog() {
            getInfo();
        static String[] ConnectOptionNames = { "Login", "Cancel" };
        static String   ConnectTitle = "Login screen";
        public void getInfo() {
            JPanel      connectionPanel;
            JLabel     databaseURLLabel = new JLabel("Database URL:   ", JLabel.LEFT);
         JTextField databaseURLField = new JTextField("");
         JLabel     driverLabel = new JLabel("Driver:   ", JLabel.LEFT);
         JTextField driverField = new JTextField("");
            JLabel     databaseLabel = new JLabel("Database:   ", JLabel.LEFT);
         JTextField databaseField = new JTextField("");
            JLabel     usernameLabel = new JLabel("User Name:   ", JLabel.LEFT);
         JTextField usernameField = new JTextField("");
            JLabel     passwordLabel = new JLabel("Password:   ", JLabel.LEFT);
         JTextField passwordField = new JPasswordField("");
            JLabel     hostnameLabel = new JLabel("Host Name:   ", JLabel.LEFT);
         JTextField hostnameField = new JTextField("");
            JLabel     portLabel = new JLabel("Port:   ", JLabel.LEFT);
         JTextField portField = new JTextField("");
         connectionPanel = new JPanel(false);
         connectionPanel.setLayout(new BoxLayout(connectionPanel,
                                  BoxLayout.X_AXIS));
         JPanel namePanel = new JPanel(false);
         namePanel.setLayout(new GridLayout(0, 1));
         namePanel.add(databaseURLLabel);
         namePanel.add(driverLabel);
            namePanel.add(databaseLabel);
            namePanel.add(usernameLabel);
            namePanel.add(passwordLabel);
            namePanel.add(hostnameLabel);
            namePanel.add(portLabel);
         JPanel fieldPanel = new JPanel(false);
         fieldPanel.setLayout(new GridLayout(0, 1));
         fieldPanel.add(databaseURLField);
            fieldPanel.add(driverField);
            fieldPanel.add(databaseField);
            fieldPanel.add(usernameField);
         fieldPanel.add(passwordField);
            fieldPanel.add(hostnameField);
            fieldPanel.add(portField);
         connectionPanel.add(namePanel);
         connectionPanel.add(fieldPanel);
            // Connect or quit
            databaseURL = databaseURLField.getText();
            driver = driverField.getText();
            database = databaseField.getText();
            username = usernameField.getText();
            password = passwordField.getText();
            hostname = hostnameField.getText();
            port = portField.getText();
            int n = JOptionPane.showOptionDialog(null, connectionPanel,
                                            ConnectTitle,
                                            JOptionPane.OK_CANCEL_OPTION,
                                            JOptionPane.PLAIN_MESSAGE,
                                            null, ConnectOptionNames,
                                            ConnectOptionNames[0]);
            if (n == 0) {
                System.out.println("Attempting login: " + username);
                String url = databaseURL+hostname+":"+port+":"+database;
             // load the JDBC driver for Oracle
             try{
                   DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                   Connection con =  DriverManager.getConnection (url, username, password);
                System.out.println("Congratulations! You are connected successfully.");
                con.close();
                System.out.println("Connection is closed successfully.");
             catch(SQLException e){
                System.out.println("Error: "+e);
            else if (n == 1)
                    System.exit(0);
        public static void main (String args []) {
             UserDialog ud = new UserDialog();
    }thanks again,
    James

    the reason why you can't get the text is because you are reading the value before some actually inserts anything in any fields.
    Here is what you need to do:
    Create a JDialog/JFrame. Create a JPanel and set that panel as contentPane (dialog.setContentPane(panel)). Insert all the components, ie JLabels and JTextFields. Add two buttons, Login and Cancel to the panel as well. Now get the username and password field values using getText() inside the ActionListener of the Login.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class LoginDialog extends JDialog
    String username, password;
      public LoginDialog( ){
        setTitle( "Login" );
        JPanel content = new JPanel(new GridLayout(0, 2) ); // as many rows, but only 2 columns.
        content.add( new JLabel( "User Name" ) );
        final JTextField nameField = new JTextField( "" );
        content.add( nameField );
        content.add( new JLabel( "Password" ) );
        final JTextField passField = new JTextField( "" );
        content.add( passField );
        JButton login = new JButton( "Login" );
        login.addActionListener( new ActionListener(){
          public void actionPerformed( ActionEvent ae ){
            username = nameField.getText();
            password = passField.getText();
            // call a method or write the code to verify the username and login here...
        content.add( login );
        JButton cancel = new JButton( "Cancel" );
        cancel.addActionListener( new ActionListener( ){
          public void actionPerformed( ActionEvent ae ){
            dispose(); // close the window or write any code that you want here.
        content.add( cancel );
        pack( ); // pack everything in the dialog for display.
        show(); // show the dialog.

  • How to retrieve comments from one OfficeTask activity and use them in another OfficeTask activity for Multi level Approval sequential Workflow

    I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
    1. InitialProposal Stage
    2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
    3. Rejection Stage
    4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
    5. Execution Stage
    6. Completed Stage
    Requirement is workflow should move to Approval stage2 from Approval stage1  if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
    Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
    I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
    On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task
    but I'm not able to retrieve comments from officeTask activity.
    My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • How do I remove/delete the loops I've downloaded?  I don't use them and they are taking up too much space on my hard drive.

    I wanted to see what was in the loops folders but now will never use them and I need the space. 

    Yes, I am logged in as the administrator.  When I drag a loop to the trash it does nothing.  The trash doesn't recoginize the item as trash and doesn't pop up and say trash like it does when I drag items from other programs to the trash.

  • My ipods are no longer recognized after I installed my Iphone I have 2 ipods that I have music on and still want to use them so how do I get the computer to recognize the ipods again?

    I recently got an Iphone and after I installed it on my computer my 2 ipods are no longer able to sync to the computer how do I get the computer to recognize the 2 different ipods so I can still use them?

    Since you already had two iPod before getting the iPhone, what exactly did you need to "install" to use the iPhone?  Doesn't it use to the same iTunes installation you already used with the iPods?
    So, I guess my question is, what changed on the computer when you started using the iPhone?
    What happens now when you connect the iPod?  Is the iPod still seen in Windows device manager?

Maybe you are looking for