Professional Web Applications Themes

Application and Session variables visible in Virtual Directories - ASP.NET General

Hi, If a virtual directory set as application then it got is own set of sessions. Natty Gur, CTO Dao2Com Ltd. 28th Baruch Hirsch st. Bnei-Brak Israel , 51114 Phone Numbers: Office: +972-(0)3-5786668 Fax: +972-(0)3-5703475 Mobile: +972-(0)58-888377 Know the overall picture *** Sent via Developersdex [url]http://www.developersdex.com[/url] *** Don't just participate in USENET...get rewarded for it!...

  1. #1

    Default Re: Application and Session variables visible in Virtual Directories

    Hi,

    If a virtual directory set as application then it got is own set of
    sessions.

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  2. #2

    Default Re: Application and Session variables visible in Virtual Directories

    That is what our test show, but what about Virtual Directories? My
    understanding is that they should use the root site's application and
    session state, but my tests show differently. What behavior have you seen
    with Virtual Directories? Do you see a difference between different IIS
    versions?

    --
    Brett Howard
    [email]howardbjbellsouth.net[/email]
    "Natty Gur" <nattydao2com.com> wrote in message
    news:OVUZ#WWRDHA.3880tk2msftngp13.phx.gbl...
    > Hi,
    >
    > If a virtual directory set as application then it got is own set of
    > sessions.
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 28th Baruch Hirsch st. Bnei-Brak
    > Israel , 51114
    >
    > Phone Numbers:
    > Office: +972-(0)3-5786668
    > Fax: +972-(0)3-5703475
    > Mobile: +972-(0)58-888377
    >
    > Know the overall picture
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Howard, Brett Guest

  3. #3

    Default Re: SOLUTION Application and Session variables visible in Virtual Directories

    By default when you create a Virtual Directory in 2000 Pro or XP Pro, it is
    created as an Application. (The only difference between a Virtural
    Directory and an Application is that the Application is isolated from the
    rest of the web site) What you have to do to change this back to a Virtual
    Directory is to open the property window and click the "remove" button next
    the the Application Name in the Application Settings area. When you do
    that, the directory is now a traditional Virtual Directory.

    Thanks for the Help Paul Wilson!

    For more information on this check out these articles
    [url]http://www.ASPAlliance.com/PaulWilson/Articles/?id=16[/url]

    and

    [url]http://www.ASPAlliance.com/PaulWilson/Articles/?id=17[/url].


    --
    Brett Howard
    [email]howardbjbellsouth.net[/email]
    "Howard, Brett" <brett.howardNOSPAMtroutmansanders.com> wrote in message
    news:#XAmAEhRDHA.2148TK2MSFTNGP10.phx.gbl...
    > That is what our test show, but what about Virtual Directories? My
    > understanding is that they should use the root site's application and
    > session state, but my tests show differently. What behavior have you seen
    > with Virtual Directories? Do you see a difference between different IIS
    > versions?
    >
    > --
    > Brett Howard
    > [email]howardbjbellsouth.net[/email]
    > "Natty Gur" <nattydao2com.com> wrote in message
    > news:OVUZ#WWRDHA.3880tk2msftngp13.phx.gbl...
    > > Hi,
    > >
    > > If a virtual directory set as application then it got is own set of
    > > sessions.
    > >
    > > Natty Gur, CTO
    > > Dao2Com Ltd.
    > > 28th Baruch Hirsch st. Bnei-Brak
    > > Israel , 51114
    > >
    > > Phone Numbers:
    > > Office: +972-(0)3-5786668
    > > Fax: +972-(0)3-5703475
    > > Mobile: +972-(0)58-888377
    > >
    > > Know the overall picture
    > >
    > >
    > > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > > Don't just participate in USENET...get rewarded for it!
    >
    >

    Howard, Brett Guest

Similar Threads

  1. Session Variables / IIS Virtual Hosting
    By blst in forum Coldfusion - Advanced Techniques
    Replies: 5
    Last Post: April 18th, 09:53 PM
  2. Virtual Directories and ASP Session Var
    By Mark Schupp in forum ASP
    Replies: 12
    Last Post: October 2nd, 08:36 PM
  3. Replies: 2
    Last Post: July 30th, 07:00 PM
  4. Replies: 0
    Last Post: July 23rd, 12:40 PM
  5. Session an Application variables
    By marc in forum ASP
    Replies: 2
    Last Post: July 14th, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139