Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect to previous link after login

Status
Not open for further replies.

andie18

MIS
Aug 14, 2001
198
US
sorry about the confusing title. Did know what else to call it.

I am writing a webpage using asp. I am trying to tie part of the webpage into another server that uses it's own login.

I have my webpage divided by geographical regions. The theory goes that the end user selects their region and a login page appears. I have a simple java script login/password setup. works great. After the user types in the username/password, then the script is to redirect them to their part of the other server. It doesn't fail but since the other server only has one user, it places all of my users into a generic page and then if you push the back button and then relogin it will move you to the correct link. I need to figure out how to make the correct link work the first time. I have narrowed my problem down to a file that the other server calls up (named default.asp) There is a section on it that does a vbscript response.redirect to that main folder. How can I get rid of that and insert my pointer from my webpage login? If I need to manually type in all of my pointers, that's fine but what exactly do I need to do? I have tried rem-ing it out but that does nothing but make the redirect fail.

I am a big time newby so whatever help you give, please make it in golden books terms.

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top