By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,679 Members | 2,331 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,679 IT Pros & Developers. It's quick & easy.

Back button action and requested logon page

P: n/a
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
To***@ix.netcom.com
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Tom Youngquist" wrote:
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
To***@ix.netcom.com

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.