"slim___shady" <sl*******@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
On my site the homepage is accessible by all. The other pages need a
password.
When a visitor clicks a link, they get redirected to the login page
instead
of the page that they want to see. That part is under control.
If they provide the right password, they need to be sent to the page that
they clicked. How do I do that?
I'm using ASP and Access.
mypage= request.servervariables("script_name")
if mypage<> "" then
Session("RequestedPage") = myPage
end if
Then, when you want to show the page they originally requested:
response.Write ("<A HREF=" & Session("RequestedPage") & ">Continue</A>
--
John Blessing
http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook