Ask a Question related to ASP, Design and Development.
-
Alan #1
FIXED: ASP Session stopped working across pages
Thought I'd post this in case it's useful to other searchers in the future.
On one of my sites I noticed that session variables had suddenly stopped
persisting across pages. Some things I had done that may have caused this
included installing the .Net framework on my server, and installing VS.Net
EA on my workstation. I had also migrated the server to active directory.
All of a sudden session variables were loosing their values if persisted
across pages (i.e. they still seemed to work on the same page on which the
value was assigned). The site concerned had an underscore in it's name. This
turned out to be the problem.
The problem was fixed by adding another identity to the site with a hostname
does not include an underscore. Open properties for the site in question and
on the Web Site tab click the Advanced... button. Use the same IP address
and Port for the new identity, but add a host header name without an
underscore. Add a new DNS alias record if required.
Make sure you browse the site using this new hostname. I left the old
hostname set up (the one with the underscore) so I didn't have to change
references in Interdev, etc. Fixed it for me.
Someone might like to comment on what the specific cause of this problem is.
Hope this helps,
Alan
Alan Guest
-
#38816 [Opn]: PHP code that was working perfectly recently stopped working.
ID: 38816 User updated by: mtoohee at gmail dot com -Summary: PHP code that was working perfectly recently stopped.... -
Active Server Pages service stopped
Running W2k Server SP4, my application event viewer says that the Active Server Pages service is stopped. How and what do I need to do to start... -
ASP stopped working in IIS 5
Take a look at the thread with almost the same subject from about an hour prior to yours. Also take a look at http://www.aspfaq.com/2109. Ray at... -
My PE2 stopped working on my E-Mac
Hi can someone help out there ? I have E-mac with 768 MB RAM. My PE2 has approximately 5400 pictures and I have been tranferring this pictures to... -
ASP.NET pages stopped working
Hi Group, I have a new Dell server that has the .NET Framework 1.1 installed on Windows 2000 SP 3. All was well until I installed Project... -
Aaron Bertrand [MVP] #2
Re: FIXED: ASP Session stopped working across pages
> Someone might like to comment on what the specific cause of this problem
is.
[url]http://www.aspfaq.com/2157[/url]
[url]http://support.microsoft.com/?kbid=316112[/url]
Aaron Bertrand [MVP] Guest
-
Alan #3
Re: FIXED: ASP Session stopped working across pages
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:%232uYTDxgDHA.696@TK2MSFTNGP09.phx.gbl...Thanks for that - I must have been caught out by the upgrade to IE6 (with> is.> > Someone might like to comment on what the specific cause of this problem
>
> [url]http://www.aspfaq.com/2157[/url]
> [url]http://support.microsoft.com/?kbid=316112[/url]
>
>
VS.Net EA I think) or an automatic update. On another note I didn't realise
that underscores weren't legal - I'll have to keep that in mind.
Cheers,
Alan
Alan Guest
-
Aaron Bertrand [MVP] #4
Re: FIXED: ASP Session stopped working across pages
> Thanks for that - I must have been caught out by the upgrade to IE6 (with
realise> VS.Net EA I think) or an automatic update. On another note I didn'tYes, it's not documented very well (and I think underscores should be> that underscores weren't legal - I'll have to keep that in mind.
illegal in machine names since they cause this kind of problem).
There is another similar case, using server.mappath. I can legally create a
folder within windows, called "my,folder," but because of the comma, this
will break server.mappath.
A
Aaron Bertrand [MVP] Guest
-
Ray at #5
Re: FIXED: ASP Session stopped working across pages
When you attempt to name an NT5+ machine with an underscore, you are
presented with a large warning about doing so. For some reason, some people
(i.e., my coworkers) choose to ignore this warning and forge ahead...
Ray at work
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:%23M%23Y0w1gDHA.4024@TK2MSFTNGP11.phx.gbl...(with> > Thanks for that - I must have been caught out by the upgrade to IE6a> realise> > VS.Net EA I think) or an automatic update. On another note I didn't>> > that underscores weren't legal - I'll have to keep that in mind.
> Yes, it's not documented very well (and I think underscores should be
> illegal in machine names since they cause this kind of problem).
>
> There is another similar case, using server.mappath. I can legally create> folder within windows, called "my,folder," but because of the comma, this
> will break server.mappath.
>
> A
>
>
Ray at Guest



Reply With Quote

