473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Windows 2000 IIS Session restricted?!

Session("UID") = 10
Session("Name") = "John Doe"

I have an ASP application loaded on a Win2k SP3 server in Anonymous
Authentication Mode. When I try to access the site, none of the session
variables work. I have to lower the security to Low in Internet Explorer for
the session variables to run. BUT if I run this same script on my local
machine (WinXP Pro sp1) it works fine with whatever security level i have.

Also, i have another ASP application loaded on the same server, but this one
used Windows Authentication Mode. This one has no problems using sessions, I
get no restrictions from that at all, the session variables run great!

Neither app is setup as an Application within IIS, they are just sub
folders. I tried creating an Application for the first issue, but no luck
there.

Thanks,

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.
Jul 19 '05 #1
4 2444
Have you enabled Session State in the settings for the website?

Daniel

"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:#B**************@TK2MSFTNGP12.phx.gbl...
Session("UID") = 10
Session("Name") = "John Doe"

I have an ASP application loaded on a Win2k SP3 server in Anonymous
Authentication Mode. When I try to access the site, none of the session
variables work. I have to lower the security to Low in Internet Explorer for the session variables to run. BUT if I run this same script on my local
machine (WinXP Pro sp1) it works fine with whatever security level i have.

Also, i have another ASP application loaded on the same server, but this one used Windows Authentication Mode. This one has no problems using sessions, I get no restrictions from that at all, the session variables run great!

Neither app is setup as an Application within IIS, they are just sub
folders. I tried creating an Application for the first issue, but no luck
there.

Thanks,

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.

Jul 19 '05 #2
Yes

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.
"Copa" <dmCopa[nospam]@gfb.org> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Have you enabled Session State in the settings for the website?

Daniel

"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:#B**************@TK2MSFTNGP12.phx.gbl...
Session("UID") = 10
Session("Name") = "John Doe"

I have an ASP application loaded on a Win2k SP3 server in Anonymous
Authentication Mode. When I try to access the site, none of the session
variables work. I have to lower the security to Low in Internet Explorer for
the session variables to run. BUT if I run this same script on my local
machine (WinXP Pro sp1) it works fine with whatever security level i have.
Also, i have another ASP application loaded on the same server, but this

one
used Windows Authentication Mode. This one has no problems using sessions, I
get no restrictions from that at all, the session variables run great!

Neither app is setup as an Application within IIS, they are just sub
folders. I tried creating an Application for the first issue, but no

luck there.

Thanks,

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.


Jul 19 '05 #3
Well, I could certainly be wrong, as I'm not really an IIS expert, but the
fact that it works at low application isolation mode makes me wonder if this
could be a problem with the IWAM account. The password in the IIS metabase
has to match the password in the Windows user account database, for example.
I suppose you could use the ADSUTIL.VBS command to obtain the password for
the IWAM account, and then try logging into Windows as that account name and
password to see what happens. Or, just reset the password using ADSUTIL.
The IWAM account also needs permissions to certain files on the hard drive
as well. If that was the case, enabling file auditing might help you. I
wonder if you might also see something useful by running the free utilities
regmon, file mon and process explorer from www.sysinternals.com while the
error is happening.

http://securityadmin.info/faq.htm#iwam
http://securityadmin.info/faq.htm#auditing
"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:#B**************@TK2MSFTNGP12.phx.gbl...
Session("UID") = 10
Session("Name") = "John Doe"

I have an ASP application loaded on a Win2k SP3 server in Anonymous
Authentication Mode. When I try to access the site, none of the session
variables work. I have to lower the security to Low in Internet Explorer for the session variables to run. BUT if I run this same script on my local
machine (WinXP Pro sp1) it works fine with whatever security level i have.

Also, i have another ASP application loaded on the same server, but this one used Windows Authentication Mode. This one has no problems using sessions, I get no restrictions from that at all, the session variables run great!

Neither app is setup as an Application within IIS, they are just sub
folders. I tried creating an Application for the first issue, but no luck
there.

Thanks,

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.

Jul 19 '05 #4
Weird, but it works fine now... I think its flakey... I unloaded the app and
today I reloaded and it worked fine.

Thanks for your posts

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.
"Karl Levinson [x y] mvp" <le********@despammed.com> wrote in message
news:us**************@TK2MSFTNGP12.phx.gbl...
Well, I could certainly be wrong, as I'm not really an IIS expert, but the
fact that it works at low application isolation mode makes me wonder if this could be a problem with the IWAM account. The password in the IIS metabase has to match the password in the Windows user account database, for example. I suppose you could use the ADSUTIL.VBS command to obtain the password for
the IWAM account, and then try logging into Windows as that account name and password to see what happens. Or, just reset the password using ADSUTIL.
The IWAM account also needs permissions to certain files on the hard drive
as well. If that was the case, enabling file auditing might help you. I
wonder if you might also see something useful by running the free utilities regmon, file mon and process explorer from www.sysinternals.com while the
error is happening.

http://securityadmin.info/faq.htm#iwam
http://securityadmin.info/faq.htm#auditing
"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:#B**************@TK2MSFTNGP12.phx.gbl...
Session("UID") = 10
Session("Name") = "John Doe"

I have an ASP application loaded on a Win2k SP3 server in Anonymous
Authentication Mode. When I try to access the site, none of the session
variables work. I have to lower the security to Low in Internet Explorer for
the session variables to run. BUT if I run this same script on my local
machine (WinXP Pro sp1) it works fine with whatever security level i have.
Also, i have another ASP application loaded on the same server, but this

one
used Windows Authentication Mode. This one has no problems using sessions, I
get no restrictions from that at all, the session variables run great!

Neither app is setup as an Application within IIS, they are just sub
folders. I tried creating an Application for the first issue, but no

luck there.

Thanks,

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.


Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cyrille | last post by:
Hi, I use session fonctions with windows 2000 and 2003 with IIS and php 4.3.4 (NTFS) Session files are in c:\temp ------ session.save_path = c:\Temp ----------- Session timeout : 60s
0
by: Vance Kessler | last post by:
Yes, yes, I know why are we using Crystal 7 under Windows 2003. Well we have to for now. We had a website that was working just fine under Windows 2000 then we re-staged the boxes upgraded to...
3
by: Steven Fox | last post by:
============================================================ About DB2 Administration Tools Environment ============================================================ DB2 administration tools level:...
2
by: Trevor Hughes | last post by:
Hello All Our organisation has recently upgraded its operating system to Windows 2000. Prior to this I was running Access 2000 databases on NT machines using the Access 2000 Runtime with no...
4
by: Primo | last post by:
Hi, This problem has been frustrating me for days and I hope you experts can help me out. I am trying to run a command, which I would normally run from the command line, from within my C#...
2
by: Matt Hamilton | last post by:
I have an application page with a datagrid with a checkbox on each row. The user should check the rows they want to modify and then click a button. When the button is clicked, I have a Click...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
7
by: Alice Wong | last post by:
I am setting up my Web ASP.net application to connect to Sql server using windows authentication. I set up IIS to have integrated windows authenication and sql to allow Windows authentication....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.