Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Setup and Install
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Session won't stick in Vista IIS 7, classic ASP app

Vista Setup and Install


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-04-2007
goldnhue
 
Posts: n/a
Session won't stick in Vista IIS 7, classic ASP app

Just got new PC with Vista Ultimate. Transferred my classic ASP program over
and can connect fine to the site and the Access database (thanks to your IIS7
forum). But I can't get my session variables to set in the IIS7/Vista
environment!

I checked everything in article
http://clasicasp.aspfaq.com/genera/w...les-stick.html,
all is OK.

Also, it's not a browser issue cause I can access the site copy on my
Win2000 pc fine from the browser on the Vista machine.

My settings on IIS 7 are:
- For Session State settings, Mode= "In Process" (and the ASP.NET state
service is running), , Cookie settings = "Use Cookies, and "Use hosting
identify for impersonation" is enabled.
- For ASP, Services, Session Properties, "Enable Session State" = True

I disabled my McAfee security center completely to test and it still did not
work.

Any other suggestions??

NOTE: For testing, I simply set a session & application variable in the
global.asa file sub Application_OnStart and Session_OnStart ..(i.e.,
Application("Users")=0, session("test") = "test"), I then try to retrieve it
on the home page (i.e., response.write(session("test") ...)

Reply With Quote
  #2  
Old 26-04-2007
goldnhue
 
Posts: n/a
RE: Session won't stick in Vista IIS 7, classic ASP app

UPDATE: It appears the global.asa isn't firing since the
session/application variables stick fine if set elsewhere in the app. Why
might the global.asa not work? I created the site by adding a new "Virtual
Directory" to the default web site.

Thanks

"goldnhue" wrote:

> Just got new PC with Vista Ultimate. Transferred my classic ASP program over
> and can connect fine to the site and the Access database (thanks to your IIS7
> forum). But I can't get my session variables to set in the IIS7/Vista
> environment!
>
> I checked everything in article
> http://clasicasp.aspfaq.com/genera/w...les-stick.html,
> all is OK.
>
> Also, it's not a browser issue cause I can access the site copy on my
> Win2000 pc fine from the browser on the Vista machine.
>
> My settings on IIS 7 are:
> - For Session State settings, Mode= "In Process" (and the ASP.NET state
> service is running), , Cookie settings = "Use Cookies, and "Use hosting
> identify for impersonation" is enabled.
> - For ASP, Services, Session Properties, "Enable Session State" = True
>
> I disabled my McAfee security center completely to test and it still did not
> work.
>
> Any other suggestions??
>
> NOTE: For testing, I simply set a session & application variable in the
> global.asa file sub Application_OnStart and Session_OnStart ..(i.e.,
> Application("Users")=0, session("test") = "test"), I then try to retrieve it
> on the home page (i.e., response.write(session("test") ...)
>

Reply With Quote
  #3  
Old 03-05-2007
goldnhue
 
Posts: n/a
RE: Session won't stick in Vista IIS 7, classic ASP app

Got answer in another forum ... in IIS7, the site must be set up as an
application, not a virtual directory, in order for the global.asa to fire.

"goldnhue" wrote:

> UPDATE: It appears the global.asa isn't firing since the
> session/application variables stick fine if set elsewhere in the app. Why
> might the global.asa not work? I created the site by adding a new "Virtual
> Directory" to the default web site.
>
> Thanks
>
> "goldnhue" wrote:
>
> > Just got new PC with Vista Ultimate. Transferred my classic ASP program over
> > and can connect fine to the site and the Access database (thanks to your IIS7
> > forum). But I can't get my session variables to set in the IIS7/Vista
> > environment!
> >
> > I checked everything in article
> > http://clasicasp.aspfaq.com/genera/w...les-stick.html,
> > all is OK.
> >
> > Also, it's not a browser issue cause I can access the site copy on my
> > Win2000 pc fine from the browser on the Vista machine.
> >
> > My settings on IIS 7 are:
> > - For Session State settings, Mode= "In Process" (and the ASP.NET state
> > service is running), , Cookie settings = "Use Cookies, and "Use hosting
> > identify for impersonation" is enabled.
> > - For ASP, Services, Session Properties, "Enable Session State" = True
> >
> > I disabled my McAfee security center completely to test and it still did not
> > work.
> >
> > Any other suggestions??
> >
> > NOTE: For testing, I simply set a session & application variable in the
> > global.asa file sub Application_OnStart and Session_OnStart ..(i.e.,
> > Application("Users")=0, session("test") = "test"), I then try to retrieve it
> > on the home page (i.e., response.write(session("test") ...)
> >

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Setup and Install


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Session won't stick in Vista IIS 7, classic ASP app"
Thread Thread Starter Forum Replies Last Post
Difference between root session and standard user session in gimp Gajagamini Operating Systems 4 17-01-2011 11:14 AM
Windows 7 console session becomes unresponsive after Remote desktop session Krishanu Networking & Security 4 24-12-2010 07:58 AM
Access classic asp session variables from asp.net Zool Software Development 3 18-05-2009 06:45 PM
LG USB Stick does not work on new Vista Ultimate Mozilla Windows Software 2 18-02-2009 07:18 PM
Flight Stick For Vista? Col. Richard J. Hucker Windows XP Support 6 21-01-2008 01:44 AM


All times are GMT +5.5. The time now is 07:03 AM.