I have a application designed such that 3
distinct projects make it up.  One project
acts as an 'login' for the other two
projects.  I need to access 'session' data
which is set in the login project from the 
other two projects when they are loaded.

I have tried using 
'load(projectName.pageName)' to reference 
the appropriate project/page from the login
project.  This works great, that is, for the
first page that is loaded from the first 
project.  That first page uses the session
id from the first project.  However, once
another page is loaded from the first, a new
session id is assigned.

Example:
Project_A - TestPage (btn_onWebEvent)
CSpider.getPage("Project_A.TestPage").load(true);
---------------------------------------------
Project_B - TestPage1 (page_onBeforeLoad)
CSpHtml.write(CSpider.getSessionId());
---------------------------------------------
Project_B - TestPage1 (btn_onWebEvent)
CSpider.getPage("TestPage2").load(true);
---------------------------------------------
Project_B - TestPage2 (page_onBeforeLoad)
CSpHtml.write(CSpider.getSessionId());
---------------------------------------------

The values output on TestPage1 and TestPage2 
differ.

Does anyone have a canned method for passing 
the session id from project to project, if 
the above method is incorrect.

Thanks,
Lance Cannon
[EMAIL PROTECTED]


_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to