Back button action and requested logon page

G

Guest

Hello,
I have been looking for two things that I think are easy but have not hit
the correct "search" word.
1. Does anyone know the command to "imitate" the "Back" button on a browser
in .NET. I have looked in the Redirect but can't seem to find anything. I
can re-direct to a specific page but my users come from differnet places so
would like to put a "Back" button on the page.
2. In a "login" page, is there a way to find the requested page. I need to
check what page in my website they want to go to in determining if they have
the proper clearance.
Thanks for any help.
Tom Youngquist
(e-mail address removed)
 
G

Guest

Quick update for people who may have the same questions. I found the answer
to #2 below. It is the command
strMyVariable = FormsAuthentication.GetRedirectUrl(strUserName, False)
(where strUserName contains the login user name)
I am still looking for an answer to item 1 (simulated "back" command)
Thanks
Tom Youngquist
 

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

Top