By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,275 Members | 936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,275 IT Pros & Developers. It's quick & easy.

How to by pass the login page using session?

P: n/a
Joe
I have 3 servers
server1: http://server1/login.asp, http://server1/page1.as
server2: http://server2/login.asp, http://server2/page1.as
server3: http://server3/login.asp, http://server3/page1.as

When the user login the username and password in http://server1/login.asp, and clic
submit button, it will go to http://server1/page1.asp if the username/password are correct

In http://server1/page1.asp, there are links to go to http://server2/login.asp, and it
requires the same username and password as in http://server1/login.asp. I don't want th
user re-enter the same username and password in http://server2/login.asp

What I attempted to do is to modify the link as http://server2/login.asp?username=te...&submit=submit
where the actual username and password can be obtained in session

In theory, it can go to http://server2/page1.asp and by pass login page.

It worked. In http://server2.page1.asp, it has a link to http://server3/login.asp
And I want to do the same thing: by pass the login page in server3 and go to page1.as
directory. Now I have trouble on doing that, because I am not supposed to modify the lin
in server2

Any ideas?

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
have server 1 POST to server 2 with the user/pass instead of redirecting

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Joe" <an*******@discussions.microsoft.com> wrote in message
news:33**********************************@microsof t.com...
I have 3 servers:
server1: http://server1/login.asp, http://server1/page1.asp
server2: http://server2/login.asp, http://server2/page1.asp
server3: http://server3/login.asp, http://server3/page1.asp

When the user login the username and password in http://server1/login.asp, and click submit button, it will go to http://server1/page1.asp if the username/password are correct.
In http://server1/page1.asp, there are links to go to http://server2/login.asp, and it requires the same username and password as in http://server1/login.asp. I don't want the user re-enter the same username and password in http://server2/login.asp.

What I attempted to do is to modify the link as http://server2/login.asp?username=te...&submit=submit, where the actual username and password can be obtained in session.

In theory, it can go to http://server2/page1.asp and by pass login page.

It worked. In http://server2.page1.asp, it has a link to http://server3/login.asp. And I want to do the same thing: by pass the login page in server3 and go to page1.asp directory. Now I have trouble on doing that, because I am not supposed to modify the link in server2.

Any ideas??

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.