Version 3


    When following a hyperlink to Jive content from a Microsoft Office application (i.e. Outlook, Excel, Powerpoint, Word, etc.), you are redirected to the login page or index.jspa.


    Type of Problem:



    Interaction with a 3rd party product.



    This is a side effect of how Microsoft implements hyperlink resolution from their applications. For more information, please see:


    Diagnosing the issue:

    The reason this happens is because the Office application attempts to follow the link itself instead of redirecting control to the browser. Because the Office application does not share cookies with the browser, the result of the application trying to follow the link is a 302 redirect to the login page. You can see this played out in the following trace of HTTP headers:


    GET /docs/DOC-5778 HTTP/1.1 Host: samplehost From: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X) Excel/12.24.0 Accept: */* Accept-Language: en Cookie:"serverName=samplehost:serverPort=80:contextPath=/:localName=localhost:localPort=9001:localAddr="; JSESSIONID=F9D65ED7ED3475436F76996ED2436826.node0 Content-Length: 0 Connection: Keep-Alive     HTTP/1.1 302 Moved Temporarily Date: Thu, 25 Mar 2010 19:23:12 GMT Server: Apache-Coyote/1.1 Last-Modified: Thu, 25 Mar 2010 19:23:12 GMT Cache-Control: max-age=60 X-JAL: 24 Location: http://samplehost/login.jspaContent-Type: text/html;charset=UTF-8 Content-Language: en-US Content-Length: 0 Vary: Accept-Encoding,User-Agent X-JSL: D=25794 t=1269544992054592 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive     GET /login.jspa HTTP/1.1 Host: samplehost From: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X) Excel/12.24.0 Accept: */* Accept-Language: en Content-Length: 0 Connection: Keep-Alive Cookie:"serverName=samplehost:serverPort=80:contextPath=/:localName=localhost:localPort=9001:localAddr="; JSESSIONID=F9D65ED7ED3475436F76996ED2436826.node0


    Then, when the Office application does whatever it does to tell the browser to load the page, it is telling it to load login.jspa instead of DOC-5778. The browser does have a valid session cookie, so the request for login.jspa automatically redirects to the last page you were looking at in the app (in the case of your video, DOC-5779). If you'd like to test this out for yourself, log into your SBS instance, navigate to any URL, then change the URL to point to login.jspa. You'll see that the browser instantly redirects you to the last page you were viewing.



    If you do not have an active session in the browser, you'll be redirected to login.jspa and then redirected to index.jspa after login for the same reason.



    This article from the Microsoft Knowledge Base explains how you can address this: