Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So basically I am going for a redirection from a page to another. I have this button on an ASP.Net Page. When I redirect it asks for credentials before showing the page.
I want to hardcode the credentials.
This is the page I am trying to redirect to: "http://202.125.155.245/cgi/nhWeb?func=viewFrame&rptUrl=/users/admin/glance/Site_C-NOC_H9-SH-enet-port-3_2013_02_27_16_10_22_324/main.html[^]"
Posted

1 solution

You can refer to these two links

How to: Implement Simple Forms Authentication

ASP.NET Login Controls Overview

You can set your page such that only authenticated users can access it.
 
Share this answer
 
Comments
09hadi 16-May-13 4:58am    
Its not like this ... it requires a different form of authentication. How can I show you?
Thanks7872 16-May-13 5:01am    
So you need to transfer using the credentials itself.So when you reach to that page it should not ask for the credentials,right?
09hadi 16-May-13 5:02am    
yes
Thanks7872 16-May-13 5:06am    
I dont think its possible until you have access to the login page.
Thanks7872 16-May-13 7:32am    
Do you have login page code? The one you are trying to access

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