Session fails to work on one server but works on another... (same project)

Ok, I have a strange problem, I use session on one computer and it works,

however using the same project on another computer makes the session fail...

 Im assigning an object to the session and yes, its set to serialize...

 

What could be the reason for this kind of behaviour?

0 Stoffe81 8/3/2007 4:47:55 PM

 check how much RAM the other machine has. If available RAM is too low then asp worker process get recycled, and you loose your sessions. Other reason might be, u r using SQL server as u r session manager, but that sql server doesnt exists in other machine. check these


Raghu
(MCSD.NET, MCAD.NET, MCDBA)
[Don't forget to click on Mark as answer on the post that helped you ]
0 rmaiya 8/3/2007 5:26:39 PM

Hmm, the thing is that the server that dosnt work is a real internetprovider witch has a really good server, it has a lot of RAM...

And, yes, I also thought it had to do with the SQL server thingi, but I thought that changing the class to have serilisation would fix that?

How would you otherwise fix that problem?

I think that that is the problem, they use a statemanager or SQL server and I uses normal (Whatever it was called)...

0 Stoffe81 8/3/2007 7:49:43 PM

HI, Stoffe81:

Many reasons will cause you session variables lost in your different environment.

Here some tips and guides for this situation:

http://classicasp.aspfaq.com/general/why-won-t-my-session-variables-stick.html

If i misunderstand you about your question, please feel free to correct me and i will try to help you with more information.

I hope the above information will be helpful. If you have any issues or concerns, please let me know. It's my pleasure to be of assistance

This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

 


Best Regards,
__________________________________________________
Sincerely,
Rex Lin
Microsoft Online Community Support

If there is any question or the issue is not resolved, please feel free to mark the thread as not resolved
0 Rex 8/6/2007 3:13:58 AM

HI, Stoffe81:

We are marking this issue as "Answered". If you have any new findings or concerns, please feel free to unmark the issue.
Thank you for your understanding!

 


Best Regards,
__________________________________________________
Sincerely,
Rex Lin
Microsoft Online Community Support

If there is any question or the issue is not resolved, please feel free to mark the thread as not resolved
0 Rex 8/9/2007 1:26:27 AM
Reply:

(Thread closed)