473,507 Members | 8,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

session data lost

Hi
I got the problem of lost session data when it operates in external network
(via internet), but it has not problem within the internal network.

Any helps will be appreciated.

Thanks,

Luke
Apr 18 '07 #1
4 1217
I interpret what you say as meaning that when your application is accessed
from the internet, session data is not stored; but when it is accessed over
the internal LAN, session data is stored OK.

I'm also assuming that the same Web server is being used in both scenarios,
and that you are maintaining your sessions by using cookies.

If these assumptions are correct, perhaps the external client does not have
cookies enabled? Can you check that?

Peter
"luke" <ta************@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
Hi
I got the problem of lost session data when it operates in external
network (via internet), but it has not problem within the internal
network.

Any helps will be appreciated.

Thanks,

Luke

Apr 18 '07 #2
Hi Peter,

It is
a.. InProc - session kept as live objects in web server (aspnet_wp.exe). Use
"cookieless" configuration in web.config to "munge" the sessionId onto the
URL

thanks,

Luke

"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:uI*************@TK2MSFTNGP05.phx.gbl...
>I interpret what you say as meaning that when your application is accessed
from the internet, session data is not stored; but when it is accessed over
the internal LAN, session data is stored OK.

I'm also assuming that the same Web server is being used in both
scenarios, and that you are maintaining your sessions by using cookies.

If these assumptions are correct, perhaps the external client does not
have cookies enabled? Can you check that?

Peter
"luke" <ta************@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>Hi
I got the problem of lost session data when it operates in external
network (via internet), but it has not problem within the internal
network.

Any helps will be appreciated.

Thanks,

Luke


Apr 18 '07 #3
Haven't used cookieless sessions myself.

In order to see if the problem is in the passing of the session id back to
the Web server, can you try changing to use cookies and see if the problem
goes away? At least that will point us at the actual problem (or eliminate
one variable from the mix).
Peter

"luke" <ta************@hotmail.comwrote in message
news:O3*************@TK2MSFTNGP05.phx.gbl...
Hi Peter,

It is
a.. InProc - session kept as live objects in web server (aspnet_wp.exe).
Use "cookieless" configuration in web.config to "munge" the sessionId onto
the URL

thanks,

Luke

"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:uI*************@TK2MSFTNGP05.phx.gbl...
>>I interpret what you say as meaning that when your application is accessed
from the internet, session data is not stored; but when it is accessed
over the internal LAN, session data is stored OK.

I'm also assuming that the same Web server is being used in both
scenarios, and that you are maintaining your sessions by using cookies.

If these assumptions are correct, perhaps the external client does not
have cookies enabled? Can you check that?

Peter
"luke" <ta************@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>>Hi
I got the problem of lost session data when it operates in external
network (via internet), but it has not problem within the internal
network.

Any helps will be appreciated.

Thanks,

Luke



Apr 18 '07 #4
I changed mode to 'auto detect' and fixed.

thanks.

luke
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:uq**************@TK2MSFTNGP04.phx.gbl...
Haven't used cookieless sessions myself.

In order to see if the problem is in the passing of the session id back to
the Web server, can you try changing to use cookies and see if the problem
goes away? At least that will point us at the actual problem (or
eliminate one variable from the mix).
Peter

"luke" <ta************@hotmail.comwrote in message
news:O3*************@TK2MSFTNGP05.phx.gbl...
>Hi Peter,

It is
a.. InProc - session kept as live objects in web server (aspnet_wp.exe).
Use "cookieless" configuration in web.config to "munge" the sessionId
onto the URL

thanks,

Luke

"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:uI*************@TK2MSFTNGP05.phx.gbl...
>>>I interpret what you say as meaning that when your application is
accessed from the internet, session data is not stored; but when it is
accessed over the internal LAN, session data is stored OK.

I'm also assuming that the same Web server is being used in both
scenarios, and that you are maintaining your sessions by using cookies.

If these assumptions are correct, perhaps the external client does not
have cookies enabled? Can you check that?

Peter
"luke" <ta************@hotmail.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
Hi
I got the problem of lost session data when it operates in external
network (via internet), but it has not problem within the internal
network.

Any helps will be appreciated.

Thanks,

Luke



Apr 18 '07 #5

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

Similar topics

7
7164
by: Billy Jacobs | last post by:
I am having a problem with my session variable being set to Null for no apparent reason. I am declaring it like the following when the user logs in. dim objUserInfo as new clsUserInfo 'Set...
0
2060
by: CJ | last post by:
Hi We have Session Data lost randomly and Session State expired early. Our Intranet Application uses Window Server 2003 and .Net Framework 1.1. We set Session Time out to 60 minutes. but user...
6
12941
by: Tony G. | last post by:
Hi there, I have an APS 3 application, running on a Windows 2003 Web edition server - it is a very busy website, and when users are click on certain links (membership info), a new window i...
1
2325
by: ramsankar | last post by:
Hi All, When viewing my php page using IE6.0, I am losing my session data. In the first page I am setting a value to the session variable. In the next page "SOME TIME" the value of the...
3
2594
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...
3
2511
by: catweezle2010 | last post by:
Hello NG, I have three files (default.aspx, search.aspx and work.aspx). The way is: login on default (if session is newsession). The loginname I write into as sessionvariable (username). So I...
7
2946
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...
4
2858
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...
43
3382
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
0
7110
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
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7482
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...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.