redirect user to page

J

John

On my web app I require a user to log in so I can validate them. At times
I'll be sending emails out for a reporting page in the web app, How can I
have the user goto the link I sent to them after they log in and get
validated?
example:
I send http://www.mycaresales.com/reports.aspx

now when they click that link it will take them to the logon page, they get
validated login then they see the first page of my web app, once they log in
I want to take them to http://www.mycarsales.com/reports.aspx instead of
having them navigate through the site to get to this page.
 
B

Benjamin Strackany

You could capture the HTTP-REFERER server variable on the login page, & then
redirect them after successful authentication. FYI in ASP.NET 2.0 the
default authentication model will automatically redirect users.

Ben Strackany
www.developmentnow.com
 
J

John

ok thanks,
I'm coding in 2.0 but I created my own Logon screen, etc. to validate the
user. I couldn't get noneof the 2.0 logon controls, API's working with my
existing database to validate and login the users
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top