Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7160957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:29:02+00:00 2026-05-28T13:29:02+00:00

I am accessing Test.aspx through two different pages. Something like this: Page1.aspx ——-> Test.aspx

  • 0

I am accessing Test.aspx through two different pages. Something like this:

Page1.aspx ——-> Test.aspx <——– Page2.aspx

I am testing this in IE7 where Request.UrlReferrer.AbsoluteUri is not working. In IE 8+ it works. Nothing I tried is working so far and its driving me nuts.

I also tried putting a hidden textbox in Page1.aspx so that I can see if the control textbox is available, if it is then I know I am coming from Page1 or else Page2. This code is not working:

        var hidden = Page.PreviousPage.FindControl("tbhidden");

‘tbhidden’ is this: <asp:textbox ID="tbhidden" runat="server" visible = "false"/>

How would you crack this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:29:03+00:00Added an answer on May 28, 2026 at 1:29 pm

    Normally the UrlReferrer will be blank for the first page bought up when a browser is started?

    You can only use the Page.PreviousPage object if you are doing a server side redirect using the Server.Transfer command

    Breaking the problem down

    If you are using anchors to get to the test page then add a parameter to it in page1 and 2

    <a href="test.aspx?from=page1 ...>
    

    and pick it up in the test page using
    Request.QueryString[“from”]

    If you are using a post then amend the form action in page1 and 2

    <form action="test.aspx?from=page1 ...>
    

    This will double check that you are coming from the correct page.

    Another good tip is to download the tool called “Fiddler”, it intercepts the website posts and gives a nicely formatted breakdown of all the referral values and page requests that occur.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have something like this: void Test(void) { char errorMessage[256]; spintf(errorMessage,... blablabla); throw new
'[{SponsorID:382,SponsorName:Test Name,MonthEndReport:true,AccountingManager:Me,UnboundProperties:[],State:16}]' When I try to access the above like this: for (var i
I am moving a site over to a different server to test. getting this
I wrote a small program to test accessing a widget parent's slot. Basically, it
While accessing a webservice which is availbale at http://recpushdata.cyndigo.com/jobs.asmx , I am getting this
When accessing values from an SqlDataReader is there a performance difference between these two:
I have a Windows CE console application that's entry point looks like this int
I am attempting to test a WCF web service I'm developing by accessing it
I am accessing a C function in Ruby through FFI. The function is called
I have created a JSP test framework but running into this issue if I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.