Cookies and page redirection

The following refers to a site I'm working on based on Weblogic 6.1 and IIS
          4.0 :
          I'm currently having difficulties with a site I'm working on where we need
          to check if a visitor has got cookies disabled and redirect them to another
          page to ask them to switch these on.
          I've tried using JSP in an include file at the top of every page on the site
          to do this by writing a test cookie and then trying to read it immediately
          to see
          if the visitor has cookies enabled and then do a response.sendRedirect if
          they don't.
          Unfortunately, JSP can't seem to write a test cookie and then immediately
          read it back
          again in the same response.
          To get round this I used Javascript in an include file to do the same thing
          and then
          tried to do a redirect using location.href = 'cookies.htm' to redirect to
          the cookies
          information page. This works in IE and Netscape 6 but not Netscape 4.
          Netscape 4 redirects to the cookies.htm page but still continues to process
          the remainder
          of the page it was originally trying to open and this causes problems.
          I found a workaround to this which was to include a further bit of
          Javascript at the foot
          of each page for the benefit of Netscape 4 which did a redirect using the
          same method after
          checking a Javascript variable set at the top of the page if cookies were
          disabled.
          This is less than ideal because in Netscape 4 the page attempted to be
          opened displays
          briefly before the redirect at the foot of the page is fired.
          By the way I have to check if cookies are enabled in Netscape 4 by writing a
          test cookie
          because, unlike IE and NN6, Netscape 4 does not support the property
          navigator.cookieEnabled.
          Is there a reliable way for IE, NN4 and NN6 using JSP at the top of every
          page in my site
          to check if someone has cookies disabled, and if so, redirect them to
          another page ?
          Cheers
          Dave
          

You can set a default home page at group level in Oracle Portal. Upon login through the custom login portlet, the user will be taken to the group home page for his/her default group.
Note :
It will work with the login link as well but you need to change the scope of the login link from current page to default home page :
!http://content.screencast.com/users/suizebol/folders/Jing/media/d9255a17-a935-4d2b-9fb0-65cc6f6fb9a1/00000038.png!

Similar Messages

  • In safari, On my Ipad2,I get the error message, "too may redirects" and the page won't load. Anyone with advice? I have cleared the cache, cookies, and history and restarted.

    In safari, on my Ipad2, I get the error message " too many redirects" and the page won't load. I have cleared the cache, cookies, and history and have rebooted and I still get the same problem. Any advice?

    In safari, on my Ipad2, I get the error message " too many redirects" and the page won't load. I have cleared the cache, cookies, and history and have rebooted and I still get the same problem. Any advice?

  • I added msn cookies to exceptions in accept cookies. But the list is always empty and page is redirected to msn

    Recently the dreaded msn homepage has returned after signing out of hotmail. I added all the cookies that msn installs to the exceptions in the Accept Cookies in Privacy. However whenever I log in and then out of hotmail the exceptions are removed and the cookies installed. I hate this intrusion and would like to permanently block the page from redirecting to msn on logging out of Hotmail. How can I do this if the exceptions are removed?
    Thank you

    If you run Firefox in Private Browsing then exceptions work just like in normal mode, but all cookies are session cookies and expire at the end of the PB mode session or if you close Firefox (Keep until is grayed).
    Choosing the "Use custom settings for history" setting doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" setting as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />
    Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a check mark.<br />

  • Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    I did think about that and if I have to I will do that, however there are about 50 songs. I have closed and reopened iTunes several times and I am sure that I have the latest version. It fails right away but I can click on the cloud download icon and download the song that it failed on ... therefore it is not that song "or any one song" causing the issue. Any ideas?

  • Cookies and redirection

    I'm currently having difficulties with a site I'm working on where we need
    to check if a visitor has got cookies disabled and redirect them to another
    page to ask them to switch these on.
    I've tried using JSP in an include file at the top of every page on the site
    to do this by writing a test cookie and then trying to read it immediately to see
    if the visitor has cookies enabled and then do a response.sendRedirect if they don't.
    Unfortunately, JSP can't seem to write a test cookie and then immediately read it back
    again in the same response.
    To get round this I used Javascript in an include file to do the same thing and then
    tried to do a redirect using location.href = 'cookies.htm' to redirect to the cookies
    information page. This works in IE and Netscape 6 but not Netscape 4.
    Netscape 4 redirects to the cookies.htm page but still continues to process the remainder
    of the page it was originally trying to open and this causes problems.
    I found a workaround to this which was to include a further bit of Javascript at the foot
    of each page for the benefit of Netscape 4 which did a redirect using the same method after
    checking a Javascript variable set at the top of the page if cookies were disabled.
    This is less than ideal because in Netscape 4 the page attempted to be opened displays
    briefly before the redirect at the foot of the page is fired.
    By the way I have to check if cookies are enabled in Netscape 4 by writing a test cookie
    because, unlike IE and NN6, Netscape 4 does not support the property navigator.cookieEnabled.
    Is there a reliable way for IE, NN4 and NN6 using JSP at the top of every page in my site
    to check if someone has cookies disabled, and if so, redirect them to another page ?
    Cheers
    Dave

    Thanks for your reply.
    I did actually do the checks to see if cookies were enabled before the page was loaded and then tried to do a redirect if the visitor had cookies switched off.
    This was done in an include file at the very top of the page which executed the Javascript before anything else on the page.
    As I mentioned this works fine on IE4, IE5, IE6 and Netscape 6.
    But not on the dreaded Netscape 4, which seems to want to render the rest of the page even after a redirect has been done at the very top.
    I'll try your bit of Javascript rather than my location.href = "cookies_error.htm" statement to see if it makes a difference.
    You are quite lucky not to have to handle Netscape 4, it brings with it alot of limitations on what you can do on your site. The worst of which is that it can't handle inline styles so you can't do things like show and hide controls on the page unless you use layers (and that would depend on page layout).

  • Google calendar is getting the error "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." I have tried disabling cookies, clearing cookies and cache but that didn't work.

    Google calendar is getting the error "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." I have tried disabling cookies, clearing cookies and cache but that didn't work.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • My ipad will open in an internet page sometimes and sometimes it won't I have cleared history and cookies and data have also closed wifi and renewed license it feels like a virus but they aren't suppose to get them so what is going on?

    My ipad will open in an internet page sometimes and sometimes it won't I have cleared data cookies and history also I have closed out wifi and reinstalled it then renewed the license nothing is working everything was fine until I downloaded an app that's why I thought it was a virus I deleted the app but it is still doing this
    What do you think it is or do you have any suggestions

    All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.

  • I cannot open google calendar with firefox, it is continuously saying cannot load page (I checked cookies, and they are enabled).

    Every time I click on Google Calendar, it opens a new window but says it is having a problem loading the page. I checked the cookies to make sure they are enabled because apparently that is a common problem. I downloaded the newest version of Firefox available, but that also did not help. I would like to not have to use Internet Explorer just to look at my calendar :-)

    This can happen if the Google cookie is malformed, delete the Google cookies and for good measure also clear the cache. For details on how to do that see [[deleting cookies]] and [[how to clear the cache]].

  • Why can I not get the most updated version of a web page? I have cleared cookies and history.

    I am trying to access our soccer club website and was informed by the club president that the website was updated, however, when I try to open it, I get the old version with last year's information. I have cleared cookies and history. Any ideas?

    Have you tried a different web browser, if you have one, to see if the site loads correctly?
    You could choose to run Safari, Firefox, SeaMonkey, or maybe another (avoid chrome)
    and have a few options in how some pages load, or be able to choose if some sites
    prefer a different browser. My macs all have at least three browsers. Some are dedicated.
    PS: did they confirm the site is still using the same URL web address?
    Hopefully you can get the sites you need to visit, to work.
    Good luck & happy computing!

  • The LOVOO app has hijacked the app store on my ipad. Plus, it often redirects me to the hijacked app store when I'm in safari (from any number of anodyne sites). I've cleared history and cookies, and will now reboot the whole ipad. What permanent fix?

    The LOVOO app has hijacked the app store on my ipad. Plus, it often redirects me to the hijacked app store when I'm in safari (from any number of anodyne sites). I've cleared history and cookies, and will now reboot the whole ipad. What permanent fix?

    I have exactly the same problem with my iPod touch 5. The Lovoo application hijacks me to the App Store constantly. It is a nightmare. This is disgusting.

  • All you need to do when it says to Update Flash is logout of your page, clear cache and cookies, and voila.

    All you need to do when it says to Update Flash is logout of your page, clear cache and cookies, and voila.

    slfcaj wrote:
    When trying to update software it says You need 5.95 GB of available space to download and install the updates. To increase available space, remove files from your startup disk, and then try again.How do I do this?
    You need to either delete unnecessary files or move them to an external hard drive.
    The updates indicate I wouldn't need nearly that amount of memory why the discrepancy?
    Post a screen shot of the updates your are trying to install.  I don't know what would be causing the discrepancy.

  • Browser is not allowing sign in to excite web page. it says my settings are configured to disable cookies and/or javascript. please help

    i just got firefox 4.0, and i tried to simply sign in to myexcite.com, but instead the message "the browser you're using is not allowing you to sign in to Excite. Right now , your browser's settings are configured to disable cookies and/or javascript..."
    Please Help. I am new to Firefox 4.0

    First, create a specific [[Managing profiles|profile]] for Firefox 4.0b8 to prevent interferences between current (Firefox 3.6) and beta (Firefox 4.0b8) versions.
    Then, see [[Cannot log in to websites]].

  • Question about setting cookies and custom authentication

    I have a question about setting cookies.
    I have two different 'projects' in HTMLDB - we will call them App1 and App2.
    I also have two different connection configurations setup in the DADs.conf file. - we will call them Connect1 and Connect2.
    App1 is setup to use database authentication (no user is specified in the DAD) and uses Connect1. Once the user successfully logs in, we set a username cookie (this is a persistent connection).
    We created a custom authenticatoin scheme for App2 - this scheme checks for the username cookie (set by App1). We would like for App2 to use Connect2 (HTMLDB_PUBLIC_USER is the default user specified and it uses connection pooling).
    Is it possible to set a cookie from App1, Connect1 for App2, Connect2 - then redirect to App2 and pick up that cookie?
    Here is an example of what we are trying to accomplish:
    A user loggs into App1, we set a cookie, and the user is redirected to App2. If the cookie exists, we allow them access to the home page in App2, if no cookie, we redirect back to a 'Login Failed' page in App1. We don't want App2 to use the same database connection as App1 though, we need App2 to use connection pooling.
    Is this possible? OR...Is there a better way to accomplish what we want to do?
    This is an enhancement to an existing app. Our requirements are to use Database Authentication (setup where pass expires after 60 days or so, cannot reuse last 3 passwords, etc.) - which is already setup and being used by other applications in our organization. All of our users have accounts in the database. We don't want users to have a new username/pass - and we don't want to manage a separate group for HTMLDB apps.
    The existing application uses HTMLDB's built in authentication - which uses database username/pass, and it uses connection pooling, but we cannot handle the pass expire stuff in it, unless there's something we're not seeing or understanding - at least that's how our DBA explained it to us.
    Any help with this will be appreciated so much. I can send you the code we have if needed.
    Thanks!

    Same problem here.  I have so many problems with this remote app.  Is there an iTunes API? I would like to write my own remote app that actually works.

  • Why does my firefox go to netherlands when I open up.I live in Tasmania. and always redirecting sites.

    I live in Australia and every time I try to open mozilla firefox.com it changes to nl. (netherlands) I type in a search and it redirects me. I dont think I have done anything for this to happen it automatically changed.

    Clear the Google cookies: Tools > Options > Privacy > Cookies: "Show Cookies"
    If the Google (Firefox) or Yahoo home page is in the wrong language then see:
    * Google: http://www.google.com/support/bin/answer.py?answer=873
    * Yahoo: http://help.yahoo.com/l/us/yahoo/homepage/troubleshooting/troubleshoot-02.html

  • Cookies and Firefox issue

    I am having an issue with my site (I did not develop it, but
    I am versed in CF enough to understand any solutions you might
    have)....
    Here is the problem...
    First, this is only an issue in Firefox. IE, Safari etc...
    etc.... do not have this problem.
    When you attempt to login, the page shows a message "Logging
    you in..." it then appears to be redirecting (as it should) to the
    requested page after successful login. But, it just flickers and
    then nothing. You are not logged in, no errors either from CF or
    from the code. Meaning there is nothing displayed to the user. So
    after a few tries users are giving up and leaving the site. What I
    have found is that if you clear the cookies then you can login and
    all is well.
    Upon further investigation, I logged into the admin side of
    the site, chose a user at random who had not logged in in more than
    a week. I tried to login to the site with his username and
    password, I could not (user and pwd are correct). After I could not
    login with his credentials, I tried my own and they too did not
    work although they did just prior to logging in with his. I cleared
    the cookies, and then it worked. (mine and his credentials).
    I also ttried, deleting just the cookies for my site and that
    doesn't work. It is only when you delete ALL cookies via the Clear
    Private Data, uncheck everything except cookies method that it
    works. So I'm stumped. I don't know if it is firefox, or my code,
    or the server, or IIS or what. Any clues that you folks can shed
    would be great. If anyone else is experiencing this sort of
    behavior please tell me what you have done. Again, I did not
    develop the site so technical details are a bit sketchy and I am
    trying to help the developer track this down.
    Essentially the site is developed in CF version 8, the login
    logic is CF/AJAX with javascript form field validation on the
    client. The webserver is IIS 6, the server itself is patched, the
    backend is SQL 2005 SP3 and again, this works flawlessly in other
    browsers.
    I appreciate any assistance.

    you said nothing about how your login framework is designed.
    are you using cflogin?
    did you make your own login framework based on session
    vars/whatever?
    are you using regular cf sessions or j2ee sessions? (you
    should do the
    latter, imho).
    let's start with that. post your code that performs login and
    the code
    that checks for login state. post you application settings as
    well.
    FF (as well as other browsers) has a feature to re-open
    previous tabs on
    start-up. this feature makes FF aggressively cache pretty
    much
    everything it can get its hands on, and never release it
    unless the user
    tells FF to clear out private data.
    your application needs to be designed with this and similar
    features in
    mind.
    post relevant code for starters.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

Maybe you are looking for

  • Free goods item with mixed material

    I have a requirement in Free goods When the customer place a material  X  we are offering the  A, B or C material as free good item If the (A) material item category group in material master is (NORM) it will be determined as a free good If the Mater

  • Object ID for PO long text for BDC of material master

    Hi all, we are working on BDC of material master:    I have given some technical specifications in the P O text view of Material Master, i want to assign an object id for this long text , how to assign an object id for the long text? regards, urendra

  • CD/DVD-drive does not read/write properly

    I can not write any dvds or cds because every time a message pops up with an error. I tried different burning programs with different cd manufacturers and it still does not seem to be a problem on other computers having the same program and using sam

  • Problem with EBCDIC

    Hi I ahve a specific reqmt to convert my ascii information into EBCDIC before writing XML data to a file adapter.I have converted my ASCII data to Codepage CP037 before the payload looks in XI like this <?xml version="1.0" ?> <ns0:MT_Result_FlatStr x

  • How to create child without master context.

    Hi, I have a special requirement where I need to allow user to create a child record without master context. I have two VOs MasterVO and ChildVO and have view link between those two. and cardinality is 0..1 to *. Here my master is read only VO. and i