Yesterday I posted the message under. Now I have found out more what the problem really is. I have an application where all components are protected. If you are not logged in, only a login component is shown. I use a cookie to remember the login. When a user tries to access a component and is not logged in, the application asks the request for the cookie. I need to use this in my application because it shall be used in a frame on a regular HTML-page. The top frame is a toolbar and my application will be called with a "clean" URL the whole time. When I call my application by pushing one of the buttons in the toolbar from the top frame, the request().cookieValueForKey() returns only null in Main. Maybe this is because the request-object is different now when I'm not requesting the page from within my application? How can I solve this? Thanks in advance!! Endre Rognerud -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Endre Meckelborg Rognerud Sent: 28. februar 1999 12:53 To: Multiple recipients of list Subject: Problems with cookies and frames!! WO4/NT4: I'm using cookies in my application to hold information that a user is logged in. When my application runs alone in the browser, all works fine. The cookie is set and I can read it in again. But my application shall work in a frame on a regular HTML-page, where the top frame includes a toolbar and the buttom frame shows a regular HTML-page or my application depending on what the user pushes on the toolbar. When my application runs in a frame, the browser returns a message that the cookie is set, but I can't read it in again. The method only returns null. I set a very general cookie with only the path set to "/". What do I do wrong? Is it possible at all to get the cookie when my application runs in a frame? Thanks in advance!! Endre Rognerud
