Hello. Maybe someone can help me.
My development computer has: WindowsXP SP2 and MSSQL Server 2000 and
IIS 5.0(or 5.1)
Our webserver has: Windows2003 SP1 and MSSQL Server 2005 and IIS 6.0
We are storing sessions in MSSQL Server 2005
My description.
I dont have any problem, the problem is at webserver.
I have some project, that i upload to webserver when i updated some
code. Everything fine for now.
Last time i made a lot of changes in code, so i wanted to put in
web-folder copy of real project. This copy will be in another folder,
and for this "copy-project" i created separate database. Its just copy
of real project, i just changed database name in web.config
Of course these 2 projects have same name for their dll in bin folder.
For example myproject.dll.
So, these two dll were started in one time. I am storing some
serialized objects in Session. And user's entered data are stored in
these objects.
The symptoms are:
Entered data (by user) not shows.
For example. I have the page with frames. User can go through pages
like Windows's tabs. When user load this one "tab", controls must be
filled with user's data, which he entered earlier. But all fields are
empty.
BUT! I began to have same problem with live project when i started test
project.
I think there is the problem with two sessions. i think they are
intersect each other, and this is the cause why i am receving no data
from Session object.
How to solve this problem ? I dont want to loose any session variable
in both projects.
and also i want to start them at one webserber, just in separate
folders and separate databases. 3 1421
Alex,
The first thing I'd do is test if your theory is correct. Have you tried
removing the test project to see if the live website functions correctly
again?
Sincerely,
--
S. Justin Gengo
Web Developer / Programmer
Free code library: http://www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Alex" <al**@douweb.orgwrote in message
news:11*********************@p79g2000cwp.googlegro ups.com...
Hello. Maybe someone can help me.
My development computer has: WindowsXP SP2 and MSSQL Server 2000 and
IIS 5.0(or 5.1)
Our webserver has: Windows2003 SP1 and MSSQL Server 2005 and IIS 6.0
We are storing sessions in MSSQL Server 2005
My description.
I dont have any problem, the problem is at webserver.
I have some project, that i upload to webserver when i updated some
code. Everything fine for now.
Last time i made a lot of changes in code, so i wanted to put in
web-folder copy of real project. This copy will be in another folder,
and for this "copy-project" i created separate database. Its just copy
of real project, i just changed database name in web.config
Of course these 2 projects have same name for their dll in bin folder.
For example myproject.dll.
So, these two dll were started in one time. I am storing some
serialized objects in Session. And user's entered data are stored in
these objects.
The symptoms are:
Entered data (by user) not shows.
For example. I have the page with frames. User can go through pages
like Windows's tabs. When user load this one "tab", controls must be
filled with user's data, which he entered earlier. But all fields are
empty.
BUT! I began to have same problem with live project when i started test
project.
I think there is the problem with two sessions. i think they are
intersect each other, and this is the cause why i am receving no data
from Session object.
How to solve this problem ? I dont want to loose any session variable
in both projects.
and also i want to start them at one webserber, just in separate
folders and separate databases.
I even dont know what to think.
I started test project at last friday.
I saw that session veriables were not stored (i also tried at machine
where i never login to test project). I saw problems at both machines.
I stopped test application. After some period of minutes (possibly
session timeout 40min) everything worked fine on both computers.
I tried at home at saturday. I had this problem just once.
I tried now. I had this problem just once also.
So, first time i entered data then go and back from another page, the
data were lost.
I close browser, open it, log-in again. This time data wasn't lost.
But when i had test app running, i lost my data in 90% of cases.
Why i have this problem now at my first today log-in ? Test app was
stopped at friday.
I dont think there is the problem with cookies. I erased all cookies
after each occuring of problem. I changed cookiename at test app at
friday, erase my cookies after that, and still got same problem.
And what to do ?
I just tried to launch test and live app in one time at my machine.
No problem. No data were lost. No session variables went from one
project to another. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Martin |
last post by:
Hi all
As my posting title suggests I'm having problems using InProc Session
state in my ASP .NET app.
I wrote a site for a friend which uses ADO .NET to keep track of a
simple...
|
by: karahan celikel |
last post by:
I realized that when SqlServer mode is used for session management
Session_End event is not fired in global.asax.
What can I do if I want to do something when a user's session end?
Thanks
|
by: William |
last post by:
Hi
I have an ASP.NET application that connects to an Access database.
Everything works fine except for the Session object. Data in the session
object is lost after I've made a call to the...
|
by: tshad |
last post by:
I have been using the default session state (InProc) and have found that I
have been loosing my information after a period of time (normally 20
minutes).
Is there anyway to find out how much...
|
by: Ahmed |
last post by:
Dear All,
I have three web applications that I want to provide one single web
interface to all of them.
If I am able to share the session between them, It will be great. so is this
possibel?
|
by: Erik |
last post by:
I have an application that uses sessions variables a lot but one I publish
the application on the prod server these variables are lost. The application
is written i c# 2.0 and I've set the...
|
by: Sarah Marriott |
last post by:
Our website contains session variables that are used to validate if a user is
logged in etc. We have found that these variables are randomly lost while
navigating the website.
We set up some...
|
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= |
last post by:
I tried:
<sessionState timeout="1">
</sessionState>
bounced IIS, and after 1 minute still had a session.
???
--
thanks - dave
|
by: K. A. |
last post by:
I have two servers at work, 'A' for testing and development, and
server 'B' for production.
On server A, I wrote a PHP test code to login users then direct them
to a personalized page. This is...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |