Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Return URL question

  1. #1
    doru is offline Senior Member
    Join Date
    Jan 2008
    Posts
    158

    Default Return URL question

    Hi,

    I am using AspDotNetStorefront ML 7.0.2.5/7.0.2.5

    I have a strange error.

    I took from the production both code and DB and I copied them to my computer.
    So, I have the same version both on the production and on my computer.


    The production version is running properly. Locally I have an issue related to Return URL


    This is the scenario

    1. I am not logged and I click on a topic.
    2. I am redirected to signin page with ReturnUrl=t-collections.aspx?skinid=2
    3. I entered my e-mail address and password
    4. On the production I am redirect to t-collections.aspx?skinid=2
    Locally, I am redirected to default.aspx page

    I don't understand where could be the error because I am using the same code and the same DB both on the production and on the development computer.

    Any help would be greatly appreciated!

    Thanks!
    Doru

  2. #2
    dvdbglw is offline Member
    Join Date
    Jun 2009
    Posts
    44

    Default

    When you were running your site locally, did you also come from t-collections.aspx? In other words, did you first go to
    Code:
    http://localhost:8080/yoursite/t-collections.aspx?skinid=2
    while not logged in? (The port number may not be 8080 on your machine.)

  3. #3
    doru is offline Senior Member
    Join Date
    Jan 2008
    Posts
    158

    Default

    Yes, locally, I first clicked link to go to

    http://localhost:8080/yoursite/t-col....aspx?skinid=2

    while not logged in. Then, I am redirected to the default.aspx page.

    Doru

  4. #4
    dvdbglw is offline Member
    Join Date
    Jun 2009
    Posts
    44

    Default

    It was mentioned in this link that the return URL may be getting truncated.

    http://forums.aspdotnetstorefront.co...ad.php?t=14666

    Look at the return URL in the address bar and compare that to the return URL in the address bar on your production site.

    You may see something like: SignIn.aspx?ReturnUrl=%2fyoursite%2fdefault.aspx

    My guess is that's why it's returning to default.aspx on your local.

  5. #5
    dvdbglw is offline Member
    Join Date
    Jun 2009
    Posts
    44

    Default

    I 'mis-typed' when I said, "truncated." At any rate, read through that thread. It worked for me. What I did was listed at the end of that post.

    Remove action="signin.aspx" from the form tag on signin.aspx.

    As always, backup first. DB and files.

    Good luck!