문제

How to add button "Back to X-page", where X-page is name of previous page.

I red this post about Request.UrlReferrer, but don't understand how to get page title.

I try to parse PageRefferrer and is some token exists - i set some name of X-Page, but i can't process all cases. Is there any other solution?

올바른 솔루션이 없습니다

다른 팁

You can try below code:

<script>
    document.write('<a href="' + document.referrer + '">Go Back</a>');
</script>

Good luck....

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top