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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved ASP.NET
5 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.
  • A Offline
    A Offline
    ash04
    wrote on last edited by
    #1

    [Message Deleted]

    H 1 Reply Last reply
    0
    • A ash04

      [Message Deleted]

      H Offline
      H Offline
      Herman T Instance
      wrote on last edited by
      #2

      in stead of ( )

      A 1 Reply Last reply
      0
      • H Herman T Instance

        in stead of ( )

        A Offline
        A Offline
        ash04
        wrote on last edited by
        #3

        Thanks for replying. I used that too but it has same problem. Please help me.

        DAsh04

        H 1 Reply Last reply
        0
        • A ash04

          Thanks for replying. I used that too but it has same problem. Please help me.

          DAsh04

          H Offline
          H Offline
          Herman T Instance
          wrote on last edited by
          #4

          I would try thisprotected void CheckLogin() { if (Session["LoginAdminUser"] == null) { Response.Redirect("~/admin/oola_log_in.aspx"); } else { **LoginUser= Session["oLoginAdminUser"].ToString();** } }

          LoginUser = Type String Session["oLoginAdminUser"] = Type Object so you need the ToString() addition

          A 1 Reply Last reply
          0
          • H Herman T Instance

            I would try thisprotected void CheckLogin() { if (Session["LoginAdminUser"] == null) { Response.Redirect("~/admin/oola_log_in.aspx"); } else { **LoginUser= Session["oLoginAdminUser"].ToString();** } }

            LoginUser = Type String Session["oLoginAdminUser"] = Type Object so you need the ToString() addition

            A Offline
            A Offline
            ash04
            wrote on last edited by
            #5

            no not solved still

            DAsh04

            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