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. how to redirect link to parent page

how to redirect link to parent page

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
4 Posts 3 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.
  • F Offline
    F Offline
    findtango
    wrote on last edited by
    #1

    hello, To all my friends i m working in asp.net 1.0, using frame on my default page(header,left,right). how can i redirect my user to login page through code when session expire like if (Session["code"]==null) { Response.Redirect("Login.aspx"); } i want to redirect this link to parent page like this:- Redirect

    K 1 Reply Last reply
    0
    • F findtango

      hello, To all my friends i m working in asp.net 1.0, using frame on my default page(header,left,right). how can i redirect my user to login page through code when session expire like if (Session["code"]==null) { Response.Redirect("Login.aspx"); } i want to redirect this link to parent page like this:- Redirect

      K Offline
      K Offline
      kumareshTMC
      wrote on last edited by
      #2

      can u use server.transfer() it can move to parent page or home page

      F 1 Reply Last reply
      0
      • K kumareshTMC

        can u use server.transfer() it can move to parent page or home page

        F Offline
        F Offline
        findtango
        wrote on last edited by
        #3

        yes, but it open login page in same frame,BUT I want it open it in parent page(which is my login page with no frame)

        S 1 Reply Last reply
        0
        • F findtango

          yes, but it open login page in same frame,BUT I want it open it in parent page(which is my login page with no frame)

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          Ok you wan to open that page in new Window ? then do it in javascript window.open('LoginPage.aspx',"height=500, width=600,status=yes,toolbar=yes, menubar=yes,location=no");

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          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