PDA

View Full Version : passing user credentials to url


pattycake
03-02-2009, 10:01 PM
I have a "shoponline" application on another server, another separate ip address. It needs to know the users name and their usergroup.

also... If the person is not logged in, I'd like to show them the "no_permissions" screen or the vb login screen,

and finally.... I would also like the page to be placed underneath the navbar... or is that asking too much.

I searched and searched and finally gave up searching and decided to post the questions here. Hope I'm not offending anyone - it's definitely not intentional.

-pat-

--------------- Added 1236050770 at 1236050770 ---------------

I have a "shoponline" application on another server, another separate ip address. It needs to know the users name and their usergroup.

also... If the person is not logged in, I'd like to show them the "no_permissions" screen or the vb login screen,

and finally.... I would also like the page to be placed underneath the navbar... or is that asking too much.

I searched and searched and finally gave up searching and decided to post the questions here. Hope I'm not offending anyone - it's definitely not intentional.

-pat-

ok... I now have it passing the userinfo to the url.

Last step... is there any way to get the url that is being loaded to load underneath my vb navbar or is that an iframe??

Marco van Herwaarden
03-03-2009, 08:41 AM
No need to pass credentials, just include global.php in the top of your script. See our article section on external pages.

pattycake
03-03-2009, 10:07 AM
No need to pass credentials, just include global.php in the top of your script. See our article section on external pages.

the creditentials MUST be passed - it's going to a another site, another url, another server that is not VB.

I already have it passing the credentials... now just need to put the site under the VB banner like maybe with an iframe