Sequence of events while connecting to Rep side:

Client loads rep side of eCommerce in browser: 

http://webserver.covesys.com/ecommv/SiteEcommV.asp

 

 

Browser loads link to style sheet  “ccs/cove.css:

Contains general website classes and  Cove specific classes for processing in F240 records.

Opens /inc/rep_menu.inc:

Loads /inc/popup_functions.inc (function library for popup windows)

Sets cookies on client for login rep and sets expiry date to 1yr.

Logs Rep into WebApp

If login successful loads /inc/site_constants.inc to populate menu buttons.

Checks if rep is a SM or RM:

IsSM = oRepLogin.Call("Get_Is_Current_Rep_a_SMRep")  

IsRM = oRepLogin.Call("Get_Is_Current_Rep_a_RMRep") 

If SM defaults to loading SalesManagerDashboard.asp in div id: Cove_Content.

If RM defaults to loading SalesManagerDashboard.asp in div id: Cove_Content.

NOTE:             All WebApp asp pages display inside of Cove_Content

And all WebApp asp pages call inc/cove_footer_menu.inc after ending div Cove_Content.

More:

Page walkthrough: Calling the RM Dashboard while logged in as SM1