javascript - Open inner page of other application by bypassing login -


i have situation in project rewriting existing application make adaptable tablet devices.

i need point page of existing version of application, until new version created. existing application deployed on separate domain.

i able launch existing application new 1 passing encoded url parameters , able reach home page.

however want launch inner page directly without making user land on home page , navigate inner page.

if fire inner page url directly, existing application not support , throws exception.

i existing app developed vendor , client not have budget start development there support requirement out of box.

url1: login application

http://xxx/app2/?d=4olzhy03ap19r7ra3hynx0b&dealercode=e39deef760e709&u=cefe3539da6563&module=&ut=c96eb15332510b&accesslevel=none

url2: open inner page

http://xxx/app2/search.do?finalpage=leases&lm_categoryid=11&lm_subcategoryid=193

one way have achieved first open url1 in browser , after delay of 5 sec, open second url. works because browser have cookies.

is there way can programatically cookies url1 , pass on cookies open url2 in browser.

please let me know how implement such url2 can opened without fail.

kindly let me know if other details required.

sounds should use fully-covering <iframe> on new page. browser won't leave new page iframe element load inner page user use if current page. have access browser cookies. set src inner page url , use following css:

width: 100%; height: 100%; z-index: 999; position: fixed; top: 0; left: 0; border: 0; overflow: auto; 

be aware because on new page, browser's url bar still new page url, not iframe's url, while navigating inside iframe. user can't see url of iframe.

https://developer.mozilla.org/en/docs/web/html/element/iframe


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -