Scripts > XSess Secure ASP Session Transfer
ASP Session Transfer Across Domains
You may have come across a situation where you have two ASP websites, possibly on different servers, and you wish to pass a visitor from site 1 to site 2 whilst retaining all the session variables.
XSess passes the entire session from one ASP webserver to another securely.
| XSess consists of a function, and a few supporting
functions, contained in an include file.
Include the script xsess.asp in any script from which you intend to transfer the visitor. Also place this script on the destination site. To transfer the visitor whilst retaining the session variables, call the function as follows:
Where "http://www.site2.com/asp/xsess.asp" is the path to this
script on the destination webserver, and "http://www.site2.com/page.asp"
is the path to actual target URL on the destination.
1. The XSess function will encrypt all the session variables and redirect
to the remote script with this encrypted data in the querystring.
NB: Session arrays or objects are not supported
Download Source Code
To download the source code, right-click the following link and select 'Save Target as...''
Download source code and rename
the file as xsess.asp.
This is the code for the XSess function which transfers the visitor to the destination website:
This is the code for the XSess2 function, which receives the visitor on the destination website:
These generic functions support the XSess functions:
script, program, free scripts, programming,
active server pages, asp, asp.net, sql,
flash, xml, vbscript, sql, cgi, perl, php,
php3, delphi, dhtml, web development, database,
resources, unix, wsh, outlook, office automation,
ecommerce, remotely hosted, website design
Your Feedback is Important
Why not let us know your feedback, or any suggestions you have? Your opinion and feedback is very important to us and to future website visitors, as it enables the continual improvement of products, services, scripts and software available from this website.
|Top | Home | ECommerce | Hosting | Site Map | Search | © 2003-6 | Contact|