Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Redirect to order.aspx after login successfull

Redirect to order.aspx after login successfull

Scheduled Pinned Locked Moved ASP.NET
questionsalestutorial
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    Hello Everybody I have more than 20 pages on my application Example: default.aspx, product.aspx, order.aspx, login.aspx, resister.aspx, offer.aspx etc. Just think, A new customer visiting my website and likes some product from my website. He added some product on ShoppingBox. After that he clicked ORDER button. You know without logged in no one can place any order but that customer is totally new. So Customer need to resister first to logged in. Also he added some product on shopping chart. My question is: 1. After resister and logged in how can I send back that customer to order page 2. How can I show that shopping chart which customer is added Any solution !! Thanks Sarfaraj

    Sarfarj Ahmed

    C 1 Reply Last reply
    0
    • S Sarfaraj Ahmed

      Hello Everybody I have more than 20 pages on my application Example: default.aspx, product.aspx, order.aspx, login.aspx, resister.aspx, offer.aspx etc. Just think, A new customer visiting my website and likes some product from my website. He added some product on ShoppingBox. After that he clicked ORDER button. You know without logged in no one can place any order but that customer is totally new. So Customer need to resister first to logged in. Also he added some product on shopping chart. My question is: 1. After resister and logged in how can I send back that customer to order page 2. How can I show that shopping chart which customer is added Any solution !! Thanks Sarfaraj

      Sarfarj Ahmed

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      typically, a login page takes the redirect page on the URL. And you'd store the cart contents in a cookie or the session, if they are logged in, or not.

      Christian Graus Driven to the arms of OSX by Vista.

      S 1 Reply Last reply
      0
      • C Christian Graus

        typically, a login page takes the redirect page on the URL. And you'd store the cart contents in a cookie or the session, if they are logged in, or not.

        Christian Graus Driven to the arms of OSX by Vista.

        S Offline
        S Offline
        Sarfaraj Ahmed
        wrote on last edited by
        #3

        Thanks for your quick reply. It does make sense.

        Sarfarj Ahmed

        S 1 Reply Last reply
        0
        • S Sarfaraj Ahmed

          Thanks for your quick reply. It does make sense.

          Sarfarj Ahmed

          S Offline
          S Offline
          Sarfaraj Ahmed
          wrote on last edited by
          #4

          But Just think abuot CodeProject.com I can logged in from anywhere on this site. Is their anything I can do: After Logged In page will be redirect to previous page Example: If i click login btn from product.aspx then login.aspx will come. After logged in page will be redirect to product.aspx waiting for your reply Thanks Sarfaraj

          Sarfarj Ahmed

          C 1 Reply Last reply
          0
          • S Sarfaraj Ahmed

            But Just think abuot CodeProject.com I can logged in from anywhere on this site. Is their anything I can do: After Logged In page will be redirect to previous page Example: If i click login btn from product.aspx then login.aspx will come. After logged in page will be redirect to product.aspx waiting for your reply Thanks Sarfaraj

            Sarfarj Ahmed

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Do it now. You'll see that CP does exactly what I was talking about. It redirects to the login page and passes to the login page, the page to go back to, on the URL. So, once you login, it reads that value and navigates back to that page.

            Christian Graus Driven to the arms of OSX by Vista.

            S 1 Reply Last reply
            0
            • C Christian Graus

              Do it now. You'll see that CP does exactly what I was talking about. It redirects to the login page and passes to the login page, the page to go back to, on the URL. So, once you login, it reads that value and navigates back to that page.

              Christian Graus Driven to the arms of OSX by Vista.

              S Offline
              S Offline
              Sarfaraj Ahmed
              wrote on last edited by
              #6

              thanks a lot i will let you know my result

              Sarfarj Ahmed

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups