Setting SSO_ID cookie

Anyone know how I could set the SSO_ID cookie, which is set at login, to last longer than the current session. I'd like to keep the SSO_ID for 48 hours so the user woundn't have to login through SSO again if they close their browser.
In a related topic, does anyone know how to customize the login screen so that I can allow the user to click a box to remember the username and password so when the SSO_ID expired they could just click login instead of re-typing the username and password.
Thanks in advance.
Q

We've got the same problem I asked Oracle how to do it but they hide after security reasons. The problem is there are some cookies identifying the session. These cookies are in memory and are destroyed when the browser is closed.
If you place the cookies on your hard disk with an expiry of 48 it could work.

Similar Messages

  • Setting the cookies value

    hi,
    when i do, submiting the page i'm able to set the cookie value.I'm not getting any messages. But the Same time when i call the proceudre with parameters from the URL i'm not able to store the cookie value.
    It display's the message like this and the value is not stored in the cookies
    Content-type: text/html Set-Cookie: emp_no=9999X; path=/;
    my code is :
    owa_util.mime_header('text/html',FALSE);
         owa_cookie.send('emp_no',UPPER(lv_emp_no),null,'/',null,null);
    owa_util.http_header_close;
    How do i solve this problem?
    Thanks

    Hi,
    Here are a couple of things you can try:
    1) remove the following line because it shouldn't be necessary:
    the_cookie.num_vals :=0;2) remove the following line because the owa_cookie.send will automatically replace any existing cookie:
         owa_cookie.remove('emp_no',the_cookie.vals(1),null);3) try capturing the cookie value in a local variable and printing it (after htp.body, of course) to see if it is working correctly.
    4) enable the browser to prompt you when a cookie is being set so that you can verify whether it is being set or not.
    HTH,
    Ashesh Parekh
    Oracle9iAS Product Management
    hi,
    Something like this...
    Code
    PROCEDURE checkLogin ( emp_no in varchar2 default NULL) IS
         pv_check_f      BOOLEAN ;
    the_cookie      owa_cookie.cookie;
    BEGIN
    pv_check_f := FUN_EMP_PASSWORD(UPPER(emp_no) ) ;
    IF NOT pv_check_f THEN
         v_msg := 'Sorry Log on denied';
         RAISE EMP_ERROR;
         END IF ;
    the_cookie.num_vals :=0;
    the_cookie:= owa_cookie.get('emp_no');
    if the_cookie.num_vals= 0 then
              owa_util.mime_header('text/html',FALSE);
              owa_cookie.send('emp_no',UPPER(emp_no),null,'/',null,null);
              owa_util.http_header_close;
         else     
              owa_util.mime_header('text/html',FALSE);
         owa_cookie.remove('emp_no',the_cookie.vals(1),null);
              owa_cookie.send('emp_no',UPPER(emp_no),null,'/',null,null);
    owa_util.http_header_close;
    end if;
    htp.p('<script language="javascript">
    window.location="http://www...URL";
    </script>');
         htp.formclose;
    EXCEPTION
         WHEN EMP_ERROR THEN
         Pageheader;
    Procedurename.Banner('Login denied');
    htp.fontOpen('red','Arial Narrow');
    htp.header(3,lv_msg);
    loginagain;
    htp.fontClose;
    htp.centeropen;
         htp.br;
         htp.p('<INPUT type="button" value="Back" onClick="history.back()">');
         htp.br;
         htp.centerclose;
    pagefooter;
    END checkLogin;
    calling the Procedure "checklogin" with the parameter emp_no from the URL like this
    "http://....:8810/dir/Packname.checkLogin?emp_no=9ABCDS".
    Waiting for ur replay.
    Thanks.

  • Setting identical cookie names on a response

              WebLogic Server 6.1 SP2 running on NT 4.0 SP6
              We need to use a non-persistent cookie as a persistence mechanism to store sessioninformation
              when a user browser on multiple pages. The cookie may be set multipletimes on
              the same page using the same response (since the request can be sharedby multiple
              jsp's included in the page).I am noticing that when we set multiple cookies with
              identical name on the sameresponse - the most recent cookie which stores the most
              updated information ISN'Tnecessarily the one which get is get set.This functionality
              is critical for our application's session management and becauseof that problem
              we can't have a reliable way to set a cookie multiple times withinthe same page
              (again - essential in our case)Here is a simple test case that contains 2 jsp's
              that demonstrate the problem.You can place them in the web root and invoke the
              first one - set_cookie.jsp.Subsequently invoke second jsp get_cookie.jsp and you
              will see that the most recentset value ISN'T the one that is read from the cookie.Thanks
              in advanceAri [email protected] get cookie code jsp
              follows (apparently can attach only one file)yields the first cookie set and not
              the last one.
              [set_cookie.jsp]
              

              Sorry for the multiple postings (an error)
              Here is the check_cookies.jsp
              TIA
              Ari
              "Ari" <[email protected]> wrote:
              >
              >
              >
              >WebLogic Server 6.1 SP2 running on NT 4.0 SP6
              >
              >We need to use a non-persistent cookie as a persistence mechanism to
              >store sessioninformation
              >when a user browser on multiple pages. The cookie may be set multipletimes
              >on
              >the same page using the same response (since the request can be sharedby
              >multiple
              >jsp's included in the page).I am noticing that when we set multiple cookies
              >with
              >identical name on the sameresponse - the most recent cookie which stores
              >the most
              >updated information ISN'Tnecessarily the one which get is get set.This
              >functionality
              >is critical for our application's session management and becauseof that
              >problem
              >we can't have a reliable way to set a cookie multiple times withinthe
              >same page
              >(again - essential in our case)Here is a simple test case that contains
              >2 jsp's
              >that demonstrate the problem.You can place them in the web root and invoke
              >the
              >first one - set_cookie.jsp.Subsequently invoke second jsp get_cookie.jsp
              >and you
              >will see that the most recentset value ISN'T the one that is read from
              >the cookie.Thanks
              >in advanceAri [email protected] get cookie
              >code jsp
              >follows (apparently can attach only one file)yields the first cookie
              >set and not
              >the last one.
              [check_cookie.jsp]
              

  • How to set the cookie or session of one domain to another domain

    Hi,
    I am using tomcat server. I am facing a issue of session lost when I am moving from one domain to another domain.
    e.g. http://mydomain.com/ to http://a.mydomain.com.
    Is there any way to set the cookie or same session to sub domain in tomcat.
    Please help me. I will be highly obliged.

    a tutorial from JavaWorld
    http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servlets.html?page=1

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • How to set HTTP cookie ORA_adf_viewScope

    Hi,
    I'm recording ADF page navigation using LoadRunner. From the browser, I see that one POST request sets http cookie ORA_adf_viewScope and the subsequent GET submits this cookie as part of the HTTP header. I don't see this cookie from any of the page source. LoadRunner is not able to record this cookie as well. Hence when I replay LR script, the GET request returns wrong page.
    Any one knows how to set this cookie?
    Thanks,
    Tong
    Edited by: user708470 on Jun 18, 2009 12:07 PM

    I believe it is possible since axis adapter provides very same functionality. Let me summarize my scenario may be it helps:
    I am trying to call series of webservice lets say in a BPM. First service (login service) will provide me with a session id (in http header with key Set-Cookie) then I will call another service which has that session id in its http header with key cookie then I am going to logout. So I am testing the second part now, but it doest let me send cookie http header parameter.
    I hope I clarified a bit more my problem.
    Regards,

  • Setting identical cookies on a response

              WebLogic Server 6.1 SP2 running on NT 4.0 SP6
              We need to use a non-persistent cookie as a persistence mechanism to store session
              information when a user browser on multiple pages. The cookie may be set multiple
              times on the same page using the same response (since the request can be shared
              by multiple jsp's included in the page).
              I am noticing that when we set multiple cookies with identical name on the same
              response - the most recent cookie which stores the most updated information ISN'T
              necessarily the one which get is get set.
              This functionality is critical for our application's session management and because
              of that problem we can't have a reliable way to set a cookie multiple times within
              the same page (again - essential in our case)
              Here is a simple test case that contains 2 jsp's that demonstrate the problem.
              You can place them in the web root and invoke the first one - set_cookie.jsp.
              Subsequently invoke second jsp get_cookie.jsp and you will see that the most recent
              set value ISN'T the one that is read from the cookie.
              Thanks in advance
              Ari Senator
              [email protected]
              203-614-3209
              The get cookie code jsp follows (apparently can attach only one file)
              yields the first cookie set and not the last one.
              <%
              String cookieValue ="";
              Cookie[] cookies = null;
              cookies = request.getCookies();
              if (cookies != null && cookies.length > 0) {
                             System.out.println("cookies.length: " + cookies.length);               
                   for (int i = 0; i < cookies.length; i++) {
                        if (cookies .getName ().equals ("data")) {
                                  cookieValue = cookies[i].getValue();
              %>     
              <html>
              <body>
              <%="cookie value " + cookieValue %>
              </body>
              </html>
              [set_cookie.jsp]

    This issue has been resolved. Please log a support case if you need a fix
              for this issue.
              thanks,
              Patrick
              "Ari" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I did.
              > Last Tuesday (03/26 )
              > Here is the case number
              > CASE_ID_NUM: 315955 CR072557
              >
              > Hopefully they will respond quickly ...
              >
              > Rajesh Mirchandani <[email protected]> wrote:
              > >
              > >This looks like a bug. Contact [email protected].
              > >
              > >[email protected] wrote:
              > >
              > >> Ah - you are right. It looks like response.addCookie() doesn't check
              > >the
              > >> cookie name etc at all and sends back all cookies added:
              > >>
              > >> <%
              > >> response.addCookie(new Cookie("foo", "123"));
              > >> response.addCookie(new Cookie("foo", "345"));
              > >> %>
              > >>
              > >> produces:
              > >>
              > >> HTTP/1.0 200 OK
              > >> Date: Tue, 26 Mar 2002 22:40:21 GMT
              > >> Server: WebLogic WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
              > >> Content-Length: 0
              > >> Content-Type: text/html
              > >> Set-Cookie: foo=345
              > >> Set-Cookie: foo=123
              > >> Set-Cookie:
              JSESSIONID=8g4bo2abPrRKsrQjVoNJNIcQ36lnsZgIDVPdg92qzY5EI3Bs52za!1900939556!-
              1062731153!7001!7002;
              > >path=/
              > >> Connection: Close
              > >>
              > >> and I guess that browser uses the last "foo" cookie value - 123.
              > >>
              > >> Resin does the same thing, but sends cookies back in the order they
              > >were
              > >> added:
              > >>
              > >> HTTP/1.0 200 OK
              > >> Server: Resin/2.0.5
              > >> Set-Cookie: foo=123
              > >> Set-Cookie: foo=345
              > >> ...
              > >>
              > >> Ari <[email protected]> wrote:
              > >>
              > >> > The buffer size isn't the issue (it's set by us to 64K)
              > >> > I also know (checked) that the response wasn't committed at any
              stage.
              > >> > <[email protected]> wrote:
              > >> >>Did you try increasing jsp buffer size? When your page(pages) write
              > >> >>> 8k (default buffer size), response is being committed (send to
              > >the
              > >> >>client) and cookies are send at this point.
              > >> >>
              > >> >>Ari <[email protected]> wrote:
              > >> >>> This is a multi-part message in MIME format.
              > >> >>
              > >> >>> ---=_newsgroups3ca0dfba
              > >> >>> Content-Type: text/plain
              > >> >>> Content-Transfer-Encoding: 7bit
              > >> >>
              > >> >>
              > >> >>> WebLogic Server 6.1 SP2 running on NT 4.0 SP6
              > >> >>> We need to use a non-persistent cookie as a persistence mechanism
              > >to
              > >> >>store session
              > >> >>> information when a user browser on multiple pages. The cookie may
              > >be
              > >> >>set multiple
              > >> >>> times on the same page using the same response (since the request
              > >can
              > >> >>be shared
              > >> >>
              > >> >>> by multiple jsp's included in the page).
              > >> >>
              > >> >>> I am noticing that when we set multiple cookies with identical
              > >name
              > >> >>on the same
              > >> >>> response - the most recent cookie which stores the most updated
              > >information
              > >> >>ISN'T
              > >> >>> necessarily the one which get is get set.
              > >> >>> This functionality is critical for our application's session
              management
              > >> >>and because
              > >> >>> of that problem we can't have a reliable way to set a cookie
              multiple
              > >> >>times within
              > >> >>> the same page (again - essential in our case)
              > >> >>
              > >> >>> Here is a simple test case that contains 2 jsp's that demonstrate
              > >the
              > >> >>problem.
              > >> >>> You can place them in the web root and invoke the first one -
              set_cookie.jsp.
              > >> >>> Subsequently invoke second jsp get_cookie.jsp and you will see
              > >that
              > >> >>the most recent
              > >> >>> set value ISN'T the one that is read from the cookie.
              > >> >>
              > >> >>> Thanks in advance
              > >> >>> Ari Senator
              > >> >>
              > >> >>> [email protected]
              > >> >>> 203-614-3209
              > >> >>
              > >> >>> The get cookie code jsp follows (apparently can attach only one
              > >file)
              > >> >>> yields the first cookie set and not the last one.
              > >> >>
              > >> >>> <%
              > >> >>> String cookieValue ="";
              > >> >>> Cookie[] cookies = null;
              > >> >>> cookies = request.getCookies();
              > >> >>> if (cookies != null && cookies.length > 0) {
              > >> >>> System.out.println("cookies.length: " +
              cookies.length);
              > >> >>
              > >> >>> for (int i = 0; i < cookies.length; i++) {
              > >> >>> if (cookies .getName ().equals ("data")) {
              > >> >>> cookieValue = cookies[i].getValue();
              > >> >>> }
              > >> >>> }
              > >> >>> }
              > >> >>
              > >> >>> %>
              > >> >>
              > >> >>> <html>
              > >> >>> <body>
              > >> >>> <%="cookie value " + cookieValue %>
              > >> >>> </body>
              > >> >>> </html>
              > >> >>> ---=_newsgroups3ca0dfba
              > >> >>> Content-Type: application/octet-stream;
              name="D:\dev\xp3\src\webroot\set_cookie.jsp"
              > >> >>> Content-Transfer-Encoding: base64
              > >> >>> Content-Disposition: attachment; filename="set_cookie.jsp"
              > >> >>
              > >> >>> DQo8JQ0KQ29va2llIG15Q29va2llOw0KbXlDb29raWUgPSBuZXcgQ29va2ll
              > >> >>> KCJkYXRhIiwiZmlyc3QiKTsNCm15Q29va2llLnNldFZlcnNpb24oMSk7DQpy
              > >> >>> ZXNwb25zZS5hZGRDb29raWUobXlDb29raWUpOw0KDQovLyAuLi4gcHJvY2Vz
              > >> >>> c2luZw0KDQoNCm15Q29va2llID0gbmV3IENvb2tpZSgiZGF0YSIsInNlY29u
              > >> >>> ZCIpOw0KbXlDb29raWUuc2V0VmVyc2lvbigxKTsNCnJlc3BvbnNlLmFkZENv
              > >> >>> b2tpZShteUNvb2tpZSk7DQoNCi8vIC4uLiBwcm9jZXNzaW5nDQoNCm15Q29v
              > >> >>> a2llID0gbmV3IENvb2tpZSgiZGF0YSIsInRoaXJkIik7DQpteUNvb2tpZS5z
              > >> >>> ZXRWZXJzaW9uKDEpOw0KcmVzcG9uc2UuYWRkQ29va2llKG15Q29va2llKTsN
              > >> >>> Cg0KDQolPg0KDQoJDQo8aHRtbD4NCg0KPGJvZHk+DQpzZXR0aW5nLi4NCjwv
              > >> >>> Ym9keT4NCjwvaHRtbD4=
              > >> >>
              > >> >>> ---=_newsgroups3ca0dfba--
              > >> >>
              > >
              > >--
              > >Rajesh Mirchandani
              > >Developer Relations Engineer
              > >BEA Support
              > >
              > >
              >

  • Survey limits, how do I set up cookies in APEX

    I have a survey on apex 3.1 and need to know if there is a easy way to keep the survey people from filling out the survey just one time from just one pc. I thank that their is the use of cookies but I don't know how to set it up.

    Hi,
    The standard login page contains an example of how to set up cookie during the page submit process:
    begin
    owa_util.mime_header('text/html', FALSE);
    owa_cookie.send(
        name=>'LOGIN_USERNAME_COOKIE',
        value=>lower(:P101_USERNAME));
    exception when others then null;
    end;If you set a "Before Header" process to something like:
    declare
    my_cookie OWA_COOKIE.cookie := OWA_COOKIE.get ('MYCOOKIE');
    begin
    return my_cookie.vals(1);
    end;this will return the value of the MYCOOKIE cookie.
    However, as the user can delete their cookies, this may, in fact, not be entirely what you need?
    One thing could look into would be the owa_util.get_cgi_env() function as this will allow you to retrieve some information about the end-user.
    Andy

  • How to set httponly cookies in J2EE 5

    Hi folks,
    I ma using Tomcat 6 which implements Servlet API 2.5 (part of the J2EE 5). I know I could set the usehttponly="true" in the context.xml to turn on all cookies to httponly. However, if I only need to set certain cookies to be httponly, how to do it in J2EE 5? I do not find Cookie.setHttponly() method in J2EE 5.
    Thanks in advance!
    Billy

    Either the support document cited above is in error or (more likely) has just not been updated for IOS 8.
    It states that:
    AirPrint printers connected to the USB port of an Apple AirPort Base Station or AirPort Time Capsule are not supported with AirPrint. Connect your AirPrint printer to your network using Wi-Fi, or connect it to a LAN port on your AirPort device using Ethernet.
    I have an early HP LaserJet P1102w and found that it can be set up to work wirelessly even if it is connected by USB to either a MAC or Airport/Time Capsule.
    The trick is to install it each way and label each in the system preferences accordingly,  (a separate icon for each version)
    Examples: the wireless  HP P1102 - Air Print, the USB cabled HP P1102w - USB, and the Airport/TC HP P1102w - Airport (or TC or LAN name)
    My iPhone 5s also found the HP1102w using AirPrint.
    Additionally the wireless printer connection will display the printer Options and Supplies just like the USB wired connection -- the Airport/TC connection will not.
    So even if you use the USB/Airport/TC route, you can still quickly switch to the wireless or USB to check the toner (or ink)
    Hope some find this useful.
    Equip:
    HP P1102w (with latest firmware update from HP)
    MacbookPro & Macbook Pro Retina (both running OSX 10.9.5 - Mavericks)
    TimeCapsule (latest Airport Utility & Firmware)
    iPhone 5s ( iOS 8.0.2)

  • "Don't allow sites that set removed cookies to set future cookies"

    I'm having a problem shopping and/or logging onto esteelauder.com (a site I have shopped from for years). Their tech folks indicated the problem appears to be with cookies and I should make sure that "Don't allow sites that set removed cookies to set future cookies" is not marked. I cannot find this in FF 3.6.15. I have removed all cookies related to this web site, but the problem still exists. I went to another computer to make sure it was not the web site, and was able to add items to the cart and log on with no problem. I am using a PC with Windows 7. This problem has just shown up in the last couple of weeks and so far only appears to be on this web site.

    * You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all cookies, images, pop-up windows, software installation, and password exceptions.
    * http://kb.mozillazine.org/Cookies
    * http://kb.mozillazine.org/Websites_report_cookies_are_disabled
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case the file cookies.sqlite got corrupted.

  • I don't accept cookies except from "Exception" domains. However, it seems that any site that want to set a cookie is automatically added to my list of "Exceptions". Why is this?

    I have "Accept cookies from sites" unchecked. I have a list of exceptions for domains that I allow to set cookies. However, it seems some site not on my exception list are automatically added to my list when they want to set cookies.
    Why/how is this happening?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • How can I have a different set of cookies per tab ?

    I want to have more than one login to google, wikipedia, web mailer etc. at a time, all of which are implemented as cookies, without the need for multiple profiles, because those force me to have more than one window, bookmarks, set of preferences etc. and to install any updates more than one time.
    Is there an extension making cookies private to tabs ?
    Or any other solution/idea ?

    Thank you for your quick reply - just checked Multifox out.
    It seems it still forces me to open a new window, while preventing the need for a new profile.
    Why isn't it in the addons.mozilla.org ? Looks dangerous ...

  • Setting Language cookie in set_external_cookies

    We have a setup Login Server to authenticate against Netegrity - Siteminder. After external authentication and before the portal page is brought up we want to set the language cookie based on a custom query we have. This will help us display the Portal content based on the language in user preferences.
    1. What is the cookie name for the Language setting ?
    2. Do we use the standard owa_util package or is there any other recommended usage.

    hii, i'm bulding a portlet for a Web that can display many languages depend on client's choices. I've add some strings in some languages ex:America. French, german v..v...in database. Now.for displaying the language client want to showed on portlets, i design a tab which changes the Default Language for a Portal, this tab execute the ORASSO.WWCTX_APP_LANGUAGE.set_language procedure, and my code is follow:
    url:=p_portlet_record.page_url;
    ORASSO.WWCTX_APP_LANGUAGE.set_language
    p_http_language =>'fr',
    p_nls_language =>'f',
    p_nls_territory =>'FRANCE',
    p_requested_url =>url
    ..but when i show the date by calling:
    htp.prn(to_char(sysdate+30, 'FMYYYY-MONTH-DD - DAY - HH24:MI'));
    it's nothing showed.Please, help me to solves this problem.
    my mail: [email protected]
    Thank you very much!!
    hope your response!

  • Safari keeps setting my cookies preference to never

    This is really odd (and recent) but occasionally I'm finding that my Cookies pref has spontaneously changed from "only from originating sites" to "never".
    Setting it back to the setting I want works for a while but then I'll notice that some site doesn't work properly--for example GMail will tell me I must have cookies enabled. I've tried deleting prefs, restarting, zapping pram even and it just keeps resurfacing. Any suggestions?
    (has repairing permissions ever actually FIXED anything?)
    AlBook 1.5 GHz   Mac OS X (10.4.6)  

    has repairing permissions ever actually FIXED anything?
    possibly! - but if you're in the mood, http://www.unsanity.org/archives/000410.php is an educated rant on the subject.
    com.apple.safari.plist ( the prefs you deleted ) is where that setting is stored...... so presumably something is changing the file for you.
    You said recently - could it have begun after the 10.4.6 update?, if so I'd suggest applying the 10.4.6 combo update

  • Setting the cookies in jsp

    Hi
    Iam trying to add the cookie into local machine.Problems is i written cookie program in cookietest.jsp then i incude this jsp into index.jsp.When iam accessing the index.jsp cookies are not setting But when iam acessing cookietest.jsp cookies are adding.why index.jsp accessing time not adding??please help me how to achive this one.
    below the code snippet
    **********************cookietest.jsp***********************
    <%@ page import="java.util.Date"%>
    <%@ page import="java.net.*"%>
    <%
         Date now = new Date();
         String timestamp = now.toString();
         Cookie cookie = new Cookie ("Venkateswarlu", "ravi");
         cookie.setMaxAge(365 * 24 * 60 * 60);
         response.addCookie(cookie);
    %>
    <HTML>
    <HEAD>
    </HEAD>
    <BODY>
    </BODY>
    </HTML>
    **************************end*****************************
    ***********************index.jsp***************************
    <jsp:include page="/cookietest.jsp"/>
    Thanks for advace
    Venkatesearlu Ravi

    Actually this is requirment
    I have to add the that cookie code snippet to every
    page.SO what i did is i placed the cookie code
    snippet into footer.jsp.This footer jsp will include
    every page..Here cookie is not adding.
    Is there any solution.I also tried this with JSTL c:import, since the JSTL1.1 spec says that c:import covers many of the shortcomings of jsp:include.
    /p/cookies/include.jsp
    <%@ page import="java.util.Date"%>
    <%@ page import="java.net.*"%>
    <%
    Date now = new Date();
    String timestamp = now.toString();
    Cookie cookie = new Cookie ("Venkateswarlu", "ravi");
    cookie.setMaxAge(365 * 24 * 60 * 60);
    response.addCookie(cookie);
    %>
    /p/cookies/page1.jsp
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <c:import url="/p/cookies/include.jsp"/>
    <html>
    <head><title>Page 1</title></head>
    <body>
    <%request.getCookies();%>
    </body>
    </html>
    /p/cookies/page2.jsp
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <c:import url="/p/cookies/include.jsp"/>
    <html>
    <head><title>Page 2</title></head>
    <body>
    <%request.getCookies();%>
    </body>
    </html>
    But the result is the same as jsp:include as far as setting HTTP Headers (Cookies) is concerned.
    So the conclusion is that you can't really set HTTP headers in include files.
    Then, you can try it with Servlets instead of JSPs. But then, you'll need to call the servlet each time, before every JSP is invoked.
    I don' know how that's done. Probably through Filters
    (a wild guess)
    Message was edited by:
    appy77

Maybe you are looking for

  • Xorg/nvidia problems

    Hi 1.running archlinux for about 2 weeks, no problems, only some small ones solved with the wiki 2.new harddrive - ergo new installation 3.installation of the base system via ftp, the other parts too ( xorg, gnome, ... ) 4.start of hwd -x -> cannot f

  • JDeveloper 10.1.3: KeepResident version 1.0 update not working

    I just tired to download KeepResident from the update center, but the .zip file is corrupt. I tried a couple of times with no success, does anyone know a hardlink to this update? Thanks

  • An item for the Expense account for ordinary depreciat. appears in ABST2

    Hello, I hope you can give me some help on this. When running ABST2, an item pertaining to the account "Expense account for ordinary depreciat." appears as a result. The amount appering in ABST2 is the amount of depreciation posted to this account in

  • Print in laserjet Problems

    Hi all, I'm facing problems printing some forms in SAP ECC 6.0. When we try to print in a local printer, via SAPLPD, the form is printed in a normal way, but when we choose a printer in the type device list (that is linked to the same printer), the p

  • I TUNES 7 ****!!!!!!

    ever since i upgrade to 7 i have tons of problems: takes forever to open the app, seems like my hd's looking for smthing and it takes forever. i try to quit the app to no avail, then all other apps i got open freeze and i got to restart the computer.