0

I have quite the odd scenario I have not run into before.

I simply have a hyper link, with the url hard coded to www.mywebsite.com/StoreLoc.aspx

My application has two pages that we are concerned about.

  1. Store.aspx
  2. StoreLoc.aspx

Even though the hyperlink is hardcoded to go to StoreLoc.aspx, SOMETIMES ( once out of tenish ) the hyperlink will direct to Store.aspx instead.

I am not the first person to work on this application, so the aspx files very well may have been renamed. Could this cause this issue?

Thank you all for your time.

2
  • 2
    If this error is reproduce-able; check the headers sent/received by the browser. There may be a redirect kicking in. Commented Apr 18, 2013 at 16:46
  • It might be a permissions problem. Commented Apr 18, 2013 at 17:05

1 Answer 1

1

You might have something in the OnSesssionStart function of the Global.asax file the does a Response.Redirect to Store.aspx.

You session might be getting killed after x minutes of inactivity. This would cause the session to get started again and then get redirected to the start page.

You may want to search for Respose.redirect or Server.Transfer in your visual studio solution.

Hope this helps.

Sign up to request clarification or add additional context in comments.

1 Comment

Oops thought I had accepted this answer. This was indeed my issue good sir, thank you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.