Click here to Skip to main content
15,910,277 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

I am working on two web application,,one is HUB and other is USER.

I want that when user will login from HUB's Login.aspx page,its username and password should be passed to USER's Login.aspx page i.e. other web application, in querystring .
So it will match the username and password from USER,s database if it is correct it will automatically Redirect to Home.aspx page in USER application.


Please friends help me.

Thanks
Posted

Redirect to something like hub/login.aspx?username=name&password=pass and check it in hubs' login page.

However this is not a good idea to pass credentials as URL parameters.
 
Share this answer
 
Comments
thatraja 9-Jun-12 5:16am    
5!
rahulbhadouria 9-Jun-12 9:29am    
I am using Encryption fopr querystring data.
CodingLover 9-Jun-12 11:08am    
A good choice. But still the hackers may assume that there are some other holes and give a shot into your site. ;) Avoid such design as much as possible.
Agree with CodingLover. Don't pass the values like that. Here check this answer.

Passing Values from One Page to Another Page[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900