473,395 Members | 1,539 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,395 software developers and data experts.

BUG: ASP.NET Returns a New Session ID For Each Request

This does not happen frequently, but does happen in rare unkown cases.

For example, at the time I'm writing this post, I'm having this problem
again.

The test page I'm browsing simply displays the SessionID. Each time I
refresh the page, the SessionID gets a new value!!!

The result is that Session state is totally lost when in InProc mode! In
StateServer mode, it simply says that the data cannot be serialized.

Hope Microsoft will hear my voice.

Thanks.
Nov 17 '05 #1
4 8063
What browser are you using. I had a similar problem with IIS making a new
session when I hit refresh but this only happened in Opera.

It might be a problem with your browser.

"Edward Yang" <ne***********@msn.com> wrote in message
news:eB**************@TK2MSFTNGP10.phx.gbl...
This does not happen frequently, but does happen in rare unkown cases.

For example, at the time I'm writing this post, I'm having this problem
again.

The test page I'm browsing simply displays the SessionID. Each time I
refresh the page, the SessionID gets a new value!!!

The result is that Session state is totally lost when in InProc mode! In
StateServer mode, it simply says that the data cannot be serialized.

Hope Microsoft will hear my voice.

Thanks.

Nov 17 '05 #2
Check that you have COOKIEs enabled...


"Edward Yang" <ne***********@msn.com> wrote in message
news:eB**************@TK2MSFTNGP10.phx.gbl...
This does not happen frequently, but does happen in rare unkown cases.

For example, at the time I'm writing this post, I'm having this problem
again.

The test page I'm browsing simply displays the SessionID. Each time I
refresh the page, the SessionID gets a new value!!!

The result is that Session state is totally lost when in InProc mode! In
StateServer mode, it simply says that the data cannot be serialized.

Hope Microsoft will hear my voice.

Thanks.

Nov 17 '05 #3
I'm having the same problem. If I run the the app in
Visual Studio it works fine. However, if I run it outside
VS using the URL, the session ID changes on every
postback, and the session state is lost.

If I change the web.config to cookieless=true then I don't
see the problem. How can I check to see if cookies are
disabled? Or is there some IIS setting that causes this?

My OS is Win 2K Server SP4, IE 6 SP1, VS .Net 1.1
-----Original Message-----
This does not happen frequently, but does happen in rare unkown cases.
For example, at the time I'm writing this post, I'm having this problemagain.

The test page I'm browsing simply displays the SessionID. Each time Irefresh the page, the SessionID gets a new value!!!

The result is that Session state is totally lost when in InProc mode! InStateServer mode, it simply says that the data cannot be serialized.
Hope Microsoft will hear my voice.

Thanks.
.

Nov 17 '05 #4
Holy shit! Microsoft broke IIS with patch: MS01-055.
If your computer name has an underscore in it, then the
session cookies are blocked! See
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;316112
-----Original Message-----
This does not happen frequently, but does happen in rare unkown cases.
For example, at the time I'm writing this post, I'm having this problemagain.

The test page I'm browsing simply displays the SessionID. Each time Irefresh the page, the SessionID gets a new value!!!

The result is that Session state is totally lost when in InProc mode! InStateServer mode, it simply says that the data cannot be serialized.
Hope Microsoft will hear my voice.

Thanks.
.

Nov 17 '05 #5

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

Similar topics

0
by: James Butler | last post by:
Sorry if I missed the answer in this NG. Searching hasn't turned up anything other than permissions issues, which this isn't. OS: Red Hat 8 PHP: 4.3.3 HTTPD: Apache 2.0.47 In PHP.INI: ...
4
by: nandyal | last post by:
All, The following script works as intended in MS-Windows and in other Linux boxes, except on the one that runs php 4.3.10. Sorry for the long post. 1) # uname -a Linux bubba 2.4.20 #5 SMP...
4
by: Robert Mark Bram | last post by:
Hi All! I have checked Windows Script help for the Undefined Data Type. It says I should be able to do this: // This method will work if (typeof(x) == "undefined") // do something However,...
6
by: Al Jones | last post by:
This is a repost form the vbscript newgroup - if this isn't the appropriate group would you point me toward one that is. Basically, I seem to be losing session data part way though preparing an...
9
by: Just D. | last post by:
All, Did anybody see this strange effect? The web application is written in C#, ASP.NET, SQL, T-SQL, etc. A pretty usual stuff, complicated enough, but works fine until... Here is a question....
6
by: Ilia | last post by:
Hi folks, I have some problems with ASP.NET Session State. The following simple program runs well if the Session State set as "InProc". If I switch to "SQLServer", the changes, made by the...
2
by: Markus Prediger | last post by:
Hi NG, I have an asp.net project that uses an vb6 com object for some database-manipulation (I cannot rewrite it in .net, sorry, its not my decision). I want it to be instanciated seperately...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
16
by: marc_r_bertrand | last post by:
To all asp/db pros: The quiz code below works. But there is a problem when too many questions are answered (radio buttons clicked). I am not an asp pro. So, is there a pro out there or an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.