M
middletree
I need to capture the previous page's URL. I thought I could find a way to
do it with client-side code, but I have been unable to find a way to do
that, so perhaps there's an ASP solution.
Please note that this is for an Intranet app, so users will be coming to a
particular page from another page. Specifically, I need the URL including
the GET data that comes after the ".asp" part.
Any code which can help is welcome. IE-specific is fine in this case.
Here's what I am trying to accomplish:
DisplayTickets.asp has a list of info which has a little bit of info about
however many tickets met the search criteria. If the user wanted all tickets
assigned to Bob which are from Customer A and were opened between March 1
and April first, the results will show, one ticket per line, on
DisplayTickets.asp. However, that page will have much more to its URL than
just DisplayTickets.asp. It will have all the stuff I just described that
was used to narrow down the search.
In each row, the Ticket number is a hyperlink to the page called
DisplayFullTickets.asp, which uses the GET method, so it will look like
this:
DisplayFullTickets.asp?TicketID=1000
Because of some other specifications in the app, I have to use the GET
method here. Otherwise, I could solve my problem very easily with hidden
fields.
Now here's deal: the boss wants me to make it so that when he clicks a
ticket number in the list on DisplayTickets.asp, when he clicks BACK to that
page later, from DisplayFullTickets.asp, he wants the most recent ticket
number to be red, or in some other way acknowledge and display which was the
last ticket he looked at, so he can go on to the next one.
do it with client-side code, but I have been unable to find a way to do
that, so perhaps there's an ASP solution.
Please note that this is for an Intranet app, so users will be coming to a
particular page from another page. Specifically, I need the URL including
the GET data that comes after the ".asp" part.
Any code which can help is welcome. IE-specific is fine in this case.
Here's what I am trying to accomplish:
DisplayTickets.asp has a list of info which has a little bit of info about
however many tickets met the search criteria. If the user wanted all tickets
assigned to Bob which are from Customer A and were opened between March 1
and April first, the results will show, one ticket per line, on
DisplayTickets.asp. However, that page will have much more to its URL than
just DisplayTickets.asp. It will have all the stuff I just described that
was used to narrow down the search.
In each row, the Ticket number is a hyperlink to the page called
DisplayFullTickets.asp, which uses the GET method, so it will look like
this:
DisplayFullTickets.asp?TicketID=1000
Because of some other specifications in the app, I have to use the GET
method here. Otherwise, I could solve my problem very easily with hidden
fields.
Now here's deal: the boss wants me to make it so that when he clicks a
ticket number in the list on DisplayTickets.asp, when he clicks BACK to that
page later, from DisplayFullTickets.asp, he wants the most recent ticket
number to be red, or in some other way acknowledge and display which was the
last ticket he looked at, so he can go on to the next one.