I'm not sure what is the exact problem. If this to have a convenient way to
get the current page, try Request.Path
--
Patrice
"Coleen" <> a écrit dans le message de news:
%...
Hi All
I have a general question about controlling page follow and if there is a
better way to do it than I am currently using in ASP.Net 1.0 - we are
getting ready to move to 2.0, so if there's a better/easier way in 2.0
that's great.
What I'm doing is creating a Session variable for each page to identify that
page when it is requested from a directory, I set the Session("page_name")
for the page called and pass that to the next page until I need to call a
different page and then change the page_name as needed.
I know that there has to be a better way to do this, and this leads to
problems if the user wants to use the drop-down JavaScript menu instead of
click on the Next buttons. I need a way to uniquely identify which page is
called from where, and pass that ID depending on which page is called.
Any suggestions would be greatly appreciated, or if you can point me to
where I can find good documentation on how to do this without using session
variables, I would appreciate it. TIA,
Coleen