473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

How to by pass the login page using session?

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
1 2519
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matt | last post by:
How to pass data back and forth between ASP and JSP page? Let's say I have Java objects, how to pass the data back to ASP page?? Or ASP has data, how to pass the data to JSP page?? Please...
0
by: Tim T | last post by:
Hi, I have a web application that has a number of users who administer their own data... i have several pages that check to see if a valid userID session exists, and if not, send them to a...
19
by: Siobhan | last post by:
Hi What is the recommended way to store a user's database credentials across the pages of a web application so that each time the database is accessed the system doesn't have to ask them for their...
10
by: GreggTB | last post by:
I've got an page (LOGIN.ASPX) that receives the user's login information. During the page load, it checks the credentials against a database and, if validation is successful, creates an instance of...
2
by: Tom | last post by:
I hope someone can help me figure out what's going on here. I've re-read the section on sessions at php.net and Googled this high and low but I haven't found anything that quite explains my...
6
by: BizWorld | last post by:
Hi, I have a scenario where i need to configure only Login.aspx page to use SSL. All other application will run on HTTP protocol. If someone can guide me how to accomplish this. One of my idea...
3
by: mike | last post by:
Hello, I've got a .aspx page that passes login information to an .asp page using a querystring. The problem is its not secure, the user can see the login information right there and type in...
6
by: =?Utf-8?B?S2VsbHk=?= | last post by:
We just switched our web application from .NET 1.1 to 2. Once client can't login out of several that have been successful. They enter a correct user name and password, click the login button and...
2
by: adam.waterfield | last post by:
Maybe someone could help me a little here. On a project I am working on, we have some LDAP authentication to Active Directory which allows users to login to our application - this is fine. When...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.