Application and Session variables visible in Virtual Directories

Ask a Question related to ASP.NET General, Design and Development.

  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. Similar Questions and Discussions

    1. Session Variables / IIS Virtual Hosting
      i am working on setting up a website that is on a shared windows server we have and coldfusion won't hold the session variables. ie. if i set the...
    2. Virtual Directories and ASP Session Var
      make sure session state is enabled in the virtual directory properties (configuration button on virtual directory tab). -- Mark Schupp Head of...
    3. Using virtual directories for common directories (scripts, images, styles, etc.)
      Hi, (sorry for the crosspost, I wasn't sure which was the best place to put this). I was just thinking about something and wondered if any of...
    4. Session problem when setting session variables in files that are in different directories
      I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with sessions. What I am building is a loginsystem and I need to save...
    5. Session an Application variables
      I want to store the link of the page that each user of my web site visited so it can help me to personalise information for each user depending on...
  3. #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]howardbj@bellsouth.net[/email]
    "Natty Gur" <natty@dao2com.com> wrote in message
    news:OVUZ#WWRDHA.3880@tk2msftngp13.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

  4. #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]howardbj@bellsouth.net[/email]
    "Howard, Brett" <brett.howard@NOSPAMtroutmansanders.com> wrote in message
    news:#XAmAEhRDHA.2148@TK2MSFTNGP10.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]howardbj@bellsouth.net[/email]
    > "Natty Gur" <natty@dao2com.com> wrote in message
    > news:OVUZ#WWRDHA.3880@tk2msftngp13.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

Posting Permissions

  • You may not post new threads
  • You may 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