Thanks to everyone who posted above. The initial logic for this must start
on the server because when certain conditions are met on the server, then
the page must go back to the previous page. I could pass a parameter into
the current page telling me what the last page was (the page that called the
current page) and then use a redirect back to that page, but that would
force the page to be reloaded. But if the client browser used the back
method then it could simpley pull the last page and its state from the
client cache with is ideal for this situation. So based on the comments in
the postings above I think a good solution will be to use the
"Page.RegisterStartupScript()" function to register a certain clientside
script as Chad and Steven Cheng mentioned, and then use then JavaScript
command for that is: history.back() as S. Justin mentioned. I haven't tried
it yet, but this sounds like what I need.
Thanks y'all!
--
(e-mail address removed)
S. Justin Gengo said:
No, because the server and client operate in a disconnected state that would
have to be done client side.
You could use a javascript sent to the client so that when it loads the page
sent from the server a back command would be fired.
The javascript command for that is: history.back()
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche