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. renaming the folder in asp.net

renaming the folder in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
9 Posts 4 Posters 1 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
    sarvesh189
    wrote on last edited by
    #1

    i am renaming a folder in asp.net at run time. but it ends the session and application starts again. please send me the code to rename the folder without ending the session. sarvesh

    C 1 Reply Last reply
    0
    • S sarvesh189

      i am renaming a folder in asp.net at run time. but it ends the session and application starts again. please send me the code to rename the folder without ending the session. sarvesh

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

      Does the folder get renamed ? Do you have permission as the ASP.NET process to rename the folder ? Have you put a try/catch around the code to see if an exception is being thrown ? Christian Graus - Microsoft MVP - C++

      S 1 Reply Last reply
      0
      • C Christian Graus

        Does the folder get renamed ? Do you have permission as the ASP.NET process to rename the folder ? Have you put a try/catch around the code to see if an exception is being thrown ? Christian Graus - Microsoft MVP - C++

        S Offline
        S Offline
        sarvesh189
        wrote on last edited by
        #3

        yes i have given the permission and folder get renamed. and after renaming the folder session_end function is called. dsf

        C 1 Reply Last reply
        0
        • S sarvesh189

          yes i have given the permission and folder get renamed. and after renaming the folder session_end function is called. dsf

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

          and have you made sure no application error or exception is occuring ? Christian Graus - Microsoft MVP - C++

          S 1 Reply Last reply
          0
          • C Christian Graus

            and have you made sure no application error or exception is occuring ? Christian Graus - Microsoft MVP - C++

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

            i am trying for that. dsf

            S 1 Reply Last reply
            0
            • S sarvesh189

              i am trying for that. dsf

              S Offline
              S Offline
              sarvesh189
              wrote on last edited by
              #6

              no exception is thrown i used try catch throw end try block but no error occurs. dsf

              S 1 Reply Last reply
              0
              • S sarvesh189

                no exception is thrown i used try catch throw end try block but no error occurs. dsf

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

                folder is renamed successfully and then session_end function is called in global.asax dsf

                C M 2 Replies Last reply
                0
                • S sarvesh189

                  folder is renamed successfully and then session_end function is called in global.asax dsf

                  C Offline
                  C Offline
                  CoolAmir
                  wrote on last edited by
                  #8

                  mmm :^) I'm thinking of finding a way to tell who is raising Session_OnEnd.

                  1 Reply Last reply
                  0
                  • S sarvesh189

                    folder is renamed successfully and then session_end function is called in global.asax dsf

                    M Offline
                    M Offline
                    minhpc_bk
                    wrote on last edited by
                    #9

                    Hi there, These documents may give you a hint: http://support.microsoft.com/kb/871042/EN-US/[^] http://support.microsoft.com/kb/835386/EN-US/[^]

                    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