detect what mechanism is used to make HTTP
stateful. This feature will help in determining what
excerpt of the HTTP header request needs to be
transferred. For example, cookies or session ID and
its associated URL can be encapsulated and sent
between two UACs. Since web applications can
implement more than one of these mechanisms, it
will be ideal to search for all relevant information
such as cookies, HTML hidden fields and transfer all
with the entire URL via SIP MESSAGE.
Figure 3: Flowchart of Content Sharing and Session Hand-
off.
Fig. 4 shows the XML document format as message
carrier. A native code in JavaScript or C++ will be
written to extract necessary information from the
message carrier and pass to the appropriate XPCOM
in the browser. The built-in XML parser in Mozilla
Firefox Web Browser can also be used to extract the
necessary information from the message carrier. In
addition to detecting what mechanism is used,
another open problem is how session transfer can be
achieved when accessing a secured website that
implements security measures like SSL. Though
SSL works between the Application Layer and the
Transport Layer of the OSI Layer Model and helps
encrypt data before transmission, there would be
need to use a protocol such as TLS to encrypt data
transferred between two UACs whenever it is
discovered that SSL is used on a website whose
content is about to be shared or handed-off. SIP
supports most of the security features available in
HTTP such as TLS, SMIME and SSL. Logically, it
can be assumed that there will not be a problem
since the extension works at the Application Layer
where raw HTTP Header Request and Response are
formed and transferred.
<xml version = “1.0”>
<http-session>
<encodedURL>http://www.adinterax.com/request
.php</encodedURL>
<cookies>
<cookie_name>adxf</cookie_name>
<cookie_content>80047@1@799.98629@817.80072@
1@804.98706@7@817.8258@</cookie_value>
<cookie_domain>.adinterax.com</cookie_domain
>
<cookie_path>/</cookie_path>
<cookie_sendFor>Any type of
connection</cookie_sendFor>
<cookie_expires>30/12/15
17:01:16</cookie_expires>
</cookies>
<hiddenElement>
<element_name>categories</element_name>
<element_value>Microsoft</element_value>
<element_size>15</element_size>
<hiddenElement>
</http-session>
Figure 4: Message Carrier in XML format.
4 CONCLUSIONS
In this paper, only the client-side implementation
strategies have been discussed. Also effort has been
made to reduce assumptions that could make the
paper vague and doubtful of its implementation. It is
expected that many built-in interfaces/components
of Mozilla Firefox Browser will be used. These
include nsIPromptservice interface which will be
used in creating prompt messages for users,
nsIDOMDocument interface which will be used in
tracing HTML Hidden fields and XBL (XML
Binding Language) which will be used in
automatically launching new tabs when an
acceptance of Content Sharing or Session Hand-off
request is made by clicking OK button of a prompt
message.
IMPLEMENTING CONTENT SHARING AND SESSION HAND-OFF BETWEEN WEB BROWSERS - An Integration
of SIP Stack into Mozilla Firefox Web Browser
281