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. Session

Session

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
7 Posts 4 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
    Socheat Net
    wrote on last edited by
    #1

    Hi, I currently using ASP.NET(VB.NET), with my form Login i use session to store username and password if login successful. It work properly when i display the session, but in ASP page it does not work. help me. Socheat

    ................

    C Z 2 Replies Last reply
    0
    • S Socheat Net

      Hi, I currently using ASP.NET(VB.NET), with my form Login i use session to store username and password if login successful. It work properly when i display the session, but in ASP page it does not work. help me. Socheat

      ................

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

      Socheat.Net wrote:

      but in ASP page it does not work

      I assume you still mean ASP.NET. I recommend you read one of these[^] google results. Then, try posting a question we can answer. We can't really help fix your code, unless you show it to us.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • S Socheat Net

        Hi, I currently using ASP.NET(VB.NET), with my form Login i use session to store username and password if login successful. It work properly when i display the session, but in ASP page it does not work. help me. Socheat

        ................

        Z Offline
        Z Offline
        Ziltard
        wrote on last edited by
        #3

        Could you be a bit more specific on what doesn't work? Also be sure to check Asp.net's membership system: http://aspnet.4guysfromrolla.com/articles/120705-1.aspx http://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx Once I got it to work with my (non-sqlExpress database) it worked like a charm.

        S 1 Reply Last reply
        0
        • Z Ziltard

          Could you be a bit more specific on what doesn't work? Also be sure to check Asp.net's membership system: http://aspnet.4guysfromrolla.com/articles/120705-1.aspx http://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx Once I got it to work with my (non-sqlExpress database) it worked like a charm.

          S Offline
          S Offline
          Socheat Net
          wrote on last edited by
          #4

          Yes let me tell, I mean that i have many page that used ASP.NET and ASP all pages are require session to show something special. in ASP.NET page login form, if user login successful i create a sesson to store a value of Username and Password, it work properly, but when user click link to another page (ASP Script) there are no session that i stored in ASP.NET page. Do you clear what i mean? Socheat

          ................

          S 1 Reply Last reply
          0
          • S Socheat Net

            Yes let me tell, I mean that i have many page that used ASP.NET and ASP all pages are require session to show something special. in ASP.NET page login form, if user login successful i create a sesson to store a value of Username and Password, it work properly, but when user click link to another page (ASP Script) there are no session that i stored in ASP.NET page. Do you clear what i mean? Socheat

            ................

            S Offline
            S Offline
            SimulationofSai
            wrote on last edited by
            #5

            You cannot share seesion variables between ASP.NET and ASP directly. You've come up with a workaround for that. Perhaps this[^] will be a good start. But in your case, I'd rather suggest that you use a database to manage your sessions. SG

            S 1 Reply Last reply
            0
            • S SimulationofSai

              You cannot share seesion variables between ASP.NET and ASP directly. You've come up with a workaround for that. Perhaps this[^] will be a good start. But in your case, I'd rather suggest that you use a database to manage your sessions. SG

              S Offline
              S Offline
              Socheat Net
              wrote on last edited by
              #6

              How can i share between ASP.NET ASP? Socheat

              ................

              S 1 Reply Last reply
              0
              • S Socheat Net

                How can i share between ASP.NET ASP? Socheat

                ................

                S Offline
                S Offline
                SimulationofSai
                wrote on last edited by
                #7

                Did you go through the link I put in my last post???????? SG

                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