The subject matter described herein relates generally to computing systems and in particular to providing systems, methods and arrangements for enabling users of different computing devices to establish and share a web-browsing session with one another while avoiding common problems associated therewith.
There is an increasing desire on the part of two or more parties to participate in a collaborative web-browsing session. One common example is a shared online shopping experience. For instance, one person looking at a new product online may wish to ask another (remotely located) person “do you like this”? The first person would normally then follow up (or couple to) the question by a sending a link (i.e. a Uniform Resource Locator (URL)) to the web page containing the picture of the product currently being viewed to the other person. That is, send the second person a link to the currently viewed web page such that upon clicking the link, a web browser would open the page for viewing by the second person. If additional people were involved (e.g. the first person wanted to have the opinions of others as well), a similar process for sharing the link and the related information would be followed, e.g. via pasting a link into instant messenger.
A collaborative web browsing session can used to share a web browsing experience. However, due to the nature of how web browsers operate, a problem of redirection loops is created wherein the users in a collaborative web browsing session may be caught in a cycle of redirection, when particular URLs are encountered, that is not controllable.
Traditional solutions for collaborative web browsing create redirection loops. Therefore, there is a need for a solution that addresses the shortcomings of the conventional arrangements summarized above.
In summary, one aspect provides a system comprising: a CPU; a memory in communication with the CPU; instructions stored in the memory and executable by the CPU to prevent redirects encountered during a collaborative web browsing session, the instructions further comprising: instructions enabling a device to join a collaborative web browsing session; instructions enabling detection of a redirection loop based upon a query to a uniform resource locator (URL) history stored in a memory; and instructions enabling termination of the redirect loop; wherein, upon the detection of a redirection loop, the device ignores URL updates of the collaborative web browsing session for a predetermined amount of time.
Another aspect provides a method comprising: enabling a device to join a collaborative web browsing session; detecting a redirection loop based upon a query to a uniform resource locator (URL) history stored in a memory; and terminating the redirect loop; wherein, upon the detecting of a redirection loop, the device ignores URL updates of the collaborative web browsing session for a predetermined amount of time.
Another aspect provides a program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform acts comprising: enabling a device to join a collaborative web browsing session; detecting a redirection loop based upon a query to a uniform resource locator (URL) history stored in a memory; and terminating the redirect loop; wherein, upon the detecting of a redirection loop, the device ignores URL updates of the collaborative web browsing session for a predetermined amount of time.
For a better understanding of the present invention, together with other and further features and advantages thereof, reference is made to the following description, taken in conjunction with the accompanying drawings, and the scope of the invention will be pointed out in the appended claims.
While the present invention will be described more fully hereinafter with reference to the accompanying drawings, in which a preferred embodiment of the present invention is shown, it is to be understood at the outset of the description which follows that persons of skill in the appropriate arts may modify the invention herein described while still achieving the favorable results of this invention. Accordingly, the description which follows is to be understood as being a broad, teaching disclosure directed to persons of skill in the appropriate arts, and not as limiting upon the present invention.
Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but does not necessarily, all refer to the same embodiment.
This detailed description will first start with an overview of the instant invention and then provide a more detailed discussion of specific preferred embodiments of the invention with reference to the accompanying drawings. The scope of the invention will be pointed out in the appended claims.
Some helpful background information on enhanced URL sharing may be found in co-pending and commonly assigned U.S. patent application Ser. No. 12/050,813 “Apparatus, System, and Method for Uniform Resource Locator Sharing”, filed on Mar. 18, 2008, which is herein incorporated by reference as if fully set forth herein. According to this system, URLs may be shared in order to keep all viewers in a session viewing the same web page. Thus, it allows users to enhance the shared browsing experience by enabling each involved in the session to view the web page.
In collaborative web browsing, URLs are shared between users. When one user navigates to a URL, this new URL is sent to other users in the collaborative session. Their local browsers then navigate to that URL as well. There is a particularly problematic usage case where all users have control and can click links and update everyone else's browsers. This scenario has a problem related to redirects, the automated redirection of a web browser.
For example, if a first user (user 1) goes to a web email site and logs in with his or her credentials (e.g. user name and password), he or she will be directed to an inbox page of the email. This inbox URL will then be sent to another user (user 2) if user 2 is participating in a collaborative web browsing session with user 1. However, since user 2 has not signed into the particular site, when he or she tries to navigate to the inbox, he or she will be redirected back to the sign-in page. This URL that redirects user 2 back to the sign-in page will then be sent to user 1, also part of the collaborative web browsing session. User 1 will often have stored credentials (e.g. a cookie placed on his or her system) and be signed in again. Thus, user 1 will again gain access to the inbox page. Thus, user 2 will again be directed to that page. The loop will then continue in such a fashion. Other loops can also occur. For example, if users in the session click back and forth selecting different pages from a persistent menu.
The present invention provides a solution to web page redirection loops encountered during a collaborative online browsing session. Users of a collaborative web browsing session encounter redirects because of the way web browsing applications work. First, a collaborative web browsing session will be described as contemplated by the instantly claimed invention. Thereafter, specific solutions for redirect loop difficulties encountered during shared or collaborative browsing sessions will be described.
A system for collaborative web-browsing enables users of different peer computers/devices to share a session by passing URLs between the users. A user is provided with an opportunity to utilize a collaborative web-browsing session to discern what others participating in the session are viewing. That is, users may be provided with information about what each of the other users is navigating to in his or her web browser.
Users may open a session specific web browser, a chat window, a list of bookmarks etc., all in one convenient view (e.g. via a plurality of tabs), so as to provide a plurality of users engaged in a collaborative browsing session with one another's navigation data/information. The users participating in the session may pass navigation information/data back and forth between themselves to indicate to one another which links/objects each is viewing.
A collaborative web browsing session enables a first person having a web-browsing session open to navigate on his or her computer (e.g. at home) and a second person having the session open to have a view that is updated contingent upon the first person's activities. Likewise, the second person can navigate independently on his or her machine (e.g. at work) and the first person's view will be updated. The two users' views will update upon the other's received navigation information. The extent of the updating is dependent on the navigation information/data that is exchanged.
An embodiment of the instant invention is directed at providing solutions to problems encountered during collaborative web browsing due to the configuration of the web browsers, particularly when URLs are being passed back and forth between users. This can lead to a scenario wherein users of the collaborative web browsing session can be caught up in a redirection loop.
As an example, when a user signs into email account (or credit card purchase page or the like), typically the user submits a request to the web page and, as a matter of implementation, that that web page understands that the user is sending it certain data (e.g. login or credit card data). After the web page (via its server) processes the login or credit card data, it then sends a response to the user's web browser that directs the browser to go to another page. For email it may be in an inbox whereas for a credit card purchase it may be a redirect to prevent the user from being able to re-click/reload and resubmit credit card information again (i.e. for the same purchase). In essence the user is redirected to a completion page, be it an email inbox or a payment confirmation page.
The above-described scenarios are, however, problematic in certain instances. With URL sharing (as per that which takes place in a collaborative web browsing session) a user might encounter a situation wherein a cycle or loop is produced such that redirects to certain web pages are incompatible with a local user's capabilities.
For example, if one user (user 1) reaches a web page that another user (user 2) cannot reach due to a lack of credentials, user 2 will be redirected to a login page. User 2 may then force user 1 to the login page as well via URL sharing in the collaborative web browsing session.
In the above-described example, when user 1 logs in successfully and directs user 2 to a page requiring credentials, and user 2 does not have the proper credentials (i.e. of the logged-in party), user 2 will fail to login. User 2 is then redirected to the log in page. The session notifies the user 1 of the redirect (via URLs sharing). User 1 will then likewise be redirected to the login page even though he or she just successfully logged in. If user 1 has stored credential for automatic login (e.g. via a cookie stored on the system), user 1 will again login and redirect user 2.
The result is a sort of vicious cycle where one side of the peer-to-peer session is inadvertently poisoning the peer-to-peer session simply because he or she is unable to get past a certain point/web page. The navigation behavior is different on both sides. The instantly claimed invention provides for prevention of such loops by detecting such scenarios and prohibiting redirect commands from having this impact on the collaborative browsing session.
An embodiment of the present invention detects a redirection loop and exits it gracefully. Either the server or the local client machine/device can accomplish this. The server or client device keeps a log/history of the previous web page(s) visited and a count of the number of times a URL is selected.
A client device will recognize that it has gotten a redirect and will not send this particular browsing information on to the other user(s) in the collaborative web browsing session. A server will detect that one user (e.g. via IP address) keeps sending the same URL multiple times in short order (e.g. in a row or within a time threshold that is unreasonable for typical or normal browsing—on the order of seconds). The server will thus detect a loop has been encountered or some other malicious activity has taken place. Time stamps of the IP packets and RTT of the packets containing the URLs to server can be used to determine how frequently the URL is being sent. Rather than always tracking web sites, the server may optionally look for this looping behavior when a certain redirect (e.g. a 301-error redirect message) is detected. This type of redirect increases the chance that a loop will take place.
An embodiment of the instant invention on a client device would include a tracking of the device's behavior and tracking the number of instances that the browser is redirected over a predetermined time (e.g. a threshold time). At least one advantage of a client implementation over a server implementation is that in addition to specific redirects (e.g. 301—error redirect messages indicating that the document has been moved permanently), the client can detect HTML meta tags (located in the head node of a web page document to indicate a redirect upon the elapse of a predetermined time) and other client-type redirects, since the client device is actually loading the web page. If the client device detects a redirect loop, it may need to send a special packet to the server to inform the server of the loop and ask for it to be reconciled.
Once a redirected loop is detected, the server could temporarily ignore URL updates (e.g. for a predetermined time) from all users and direct them back to the last valid/safe (e.g. a pre-loop) page. Alternatively, the collaborative session could break and (in the above example) user 1 would be sent to the inbox and user 2 would be sent to the login screen (i.e. the first redirect in the series of redirects for both users). Both users would then be prompted to inform them why their session was broken and may choose to restart the session.
Referring now more particularly to the accompanying drawings, a preferred embodiment of the present invention will be described. The scope of the invention will be pointed out in the appended claims.
Referring now to
As shown in
PCI local bus 50 supports the attachment of a number of devices, including adapters and bridges. Among these devices is network adapter 66, which interfaces computer system 12 to LAN 10, and graphics adapter 68, which interfaces computer system 12 to display 69. Communication on PCI local bus 50 is governed by local PCI controller 52, which is in turn coupled to non-volatile random access memory (NVRAM) 56 via memory bus 54. Local PCI controller 52 can be coupled to additional buses and devices via a second host bridge 60.
Computer system 12 further includes Industry Standard Architecture (ISA) bus 62, which is coupled to PCI local bus 50 by ISA bridge 64. Coupled to ISA bus 62 is an input/output (I/O) controller 70, which controls communication between computer system 12 and attached peripheral devices such as a keyboard, mouse, and a disk drive. In addition, I/O controller 70 supports external communication by computer system 12 via serial and parallel ports.
Each computer (201, 202, 204) and the server (205) may include one or more processor modules and the like referred to herein as modules or components. The server (205) may also include a plurality of databases and a plurality of applications that constitute online web pages (e.g. online store). The server (205) is in communication with the plurality of computers (201, 202, 204) through the network. Each computer (201, 202, 204) may further include a display medium.
Additionally, each computer (201, 202, 204) may include software that includes a web browser. The web browser may be for example MICROSOFT INTERNET EXPLORER®, Mozilla Firefox, Apple Safari, NETSCAPE NAVIGATOR®, or the like. The web browser may automatically convert a plurality of HyperText Markup Language (HTML) codes in the form of corresponding text matter, one or more pictures/drawings, tables, hyperlinks, or the like and display the created web page in an intended format on the screen of the one or more computers (201, 202, 204).
The link module (501) links a plurality of users for a collaborative browsing session. A user participating in the session is enabled to select a link displayed by the display module (504) on his or her web browser for sharing using the select module (502). Upon selection, the communication module (504) allows the user to communicate the URL sharing data associated with the selected link to the other users participating in the web browsing session to direct them to the URL. A reception module (507) allows the apparatus to receive other devices' shared URL information. The detection module (505) enables the apparatus (500) to detect a redirect loop (e.g. via consulting a URL history or detecting multiple redirects to a page within a predetermined amount of time). Upon detection of a redirection loop by the detection module (505), the termination module (506) enables the apparatus (500) to terminate the redirection loop (e.g. by terminating the collaborative web browsing session or directing the apparatus (500) to a safe page).
An embodiment of the instant invention is capable of sending additional data/information regarding the redirect via the communication module (503). For example, the present invention is able to discern and communicate which user originated the action/click that started the redirect loop by utilizing user information (e.g. IP address). This may be advantageous for preventing additional encounters with redirects during the collaborative browsing session. Some examples of other additional data/information that may be included in communications sent between the users of the collaborative web browsing session are user names and the general URL history that is captured and stored on client devices. Thus user(s) are enabled to view the browsing history (e.g. users joining the session). Essentially any additional data that is helpful may be passed along; however, additional data should not impact performance due to excess data being passed. Thus, most types of text information can be passed back and forth or any type of user browser activity information can be passed back and forth.
An embodiment of the present invention may be provided as a computer program product which may include a machine-readable medium having stored thereon instructions which may be used to program a computer (or other electronic devices) to perform a process according to the any of the embodiments of the present invention. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnet or optical cards, or other type of media/machine-readable medium suitable for storing electronic instructions. Moreover, an embodiment of the present invention may also be downloaded as a computer program product, wherein the program may be transferred from a remote computer to a requesting computer by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection).
Elements of the instant invention may be implemented on at least one general-purpose computer running suitable software programs. These may also be implemented on at least one Integrated Circuit or part of at least one Integrated Circuit. Thus, it is to be understood that the invention may be implemented in hardware, software, or a combination of both.
In the drawings and specification there has been set forth a preferred embodiment of the invention and, although specific terms are used, the description thus given uses terminology in a generic and descriptive sense only and not for purposes of limitation.
If not otherwise stated herein, it is to be assumed that all patents, patent applications, patent publications and other publications (including web-based publications) mentioned and cited herein are hereby fully incorporated by reference herein as if set forth in their entirety.
Many of the functional units described in this specification have been labeled as modules in order to emphasize their implementation independence. Modules may include hardware circuits such as one or more processors with memory, programmable logic, and/or discrete components. The hardware circuits may perform hardwired logic functions, execute computer readable programs stored on tangible storage devices, and/or execute programmed functions. The computer readable programs may in combination with a computer system perform the functions of the invention.
This application is a continuation application of U.S. patent application Ser. No. 12/242,486, filed on Sep. 30, 2008, entitled “PREVENTING REDIRECTION LOOPS DURING COLLABORATIVE WEB BROWSING”, the contents of which are incorporated by reference in their entirety herein.
Number | Name | Date | Kind |
---|---|---|---|
6081788 | Appleman | Jun 2000 | A |
6240444 | Fin | May 2001 | B1 |
7287054 | Lee | Oct 2007 | B2 |
7305439 | Qian | Dec 2007 | B2 |
20020062343 | Appleman | May 2002 | A1 |
20020065877 | Kowtko | May 2002 | A1 |
20020065912 | Catchpole | May 2002 | A1 |
20020138624 | Esenther | Sep 2002 | A1 |
20030208535 | Appleman | Nov 2003 | A1 |
20050015492 | Kumbalimutt | Jan 2005 | A1 |
20050086068 | Quigley | Apr 2005 | A1 |
20050114673 | Raikar | May 2005 | A1 |
20050138435 | Kaufman | Jun 2005 | A1 |
20050198116 | Appleman | Sep 2005 | A1 |
20060129642 | Qian | Jun 2006 | A1 |
20070106748 | Jakobsson | May 2007 | A1 |
20080070548 | Cha | Mar 2008 | A1 |
20090018862 | Sanger | Jan 2009 | A1 |
20090241032 | Challener | Sep 2009 | A1 |
20100082746 | Ulrich | Apr 2010 | A1 |
20100083135 | Zawacki | Apr 2010 | A1 |
20120292388 | Hernandez | Nov 2012 | A1 |
20160110550 | Kakii | Apr 2016 | A1 |
Number | Date | Country | |
---|---|---|---|
20140229548 A1 | Aug 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12242486 | Sep 2008 | US |
Child | 14257584 | US |