Javascript function returning session object

This is a simple script to retrieve a ‘CouchDB’ session and get the user information. for example ”

JavaScript – How to Set values to Session in Javascript:

Note that i have assign Static value(Welcome anup). but for Dynamatic.

It is Working fine in Client Side. But i Server Side(Code Behind), the Session[“Test”] value is '+ strTest

The call() Method with Arguments:

for example with codeing :-

output shown in :-

JavaScript Functions
This example calls the fullName method of person, using it on person1:

John Doe,Oslo,Norway