Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 15th, 2005, 06:56 AM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Session variable Loss - asp.net

session variables lost intermitant

been researching this for a while

did some logging of session start and end

Session started- 0 session started at 15/01/2005 09:39:46 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session login- 14 session loged in at 15/01/2005 09:39:54 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session started- 0 session started at 15/01/2005 09:45:47 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session login- 14 session loged in at 15/01/2005 09:46:09 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session ended- 14 session ended at 1/15/2005 10:06:49 AM sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session started- 0 session started at 15/01/2005 10:12:17 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session login- 14 session loged in at 15/01/2005 10:13:54 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session ended- 14 session ended at 1/15/2005 10:24:08 AM sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session started- 0 session started at 15/01/2005 10:25:40 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session login- 14 session loged in at 15/01/2005 10:25:51 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

noticed the time was recorded in a different format for end session event

I use my web.config to set

 <globalization requestEncoding="windows-1252" responseEncoding="windows-1252" fileEncoding="windows-1252" culture="en-GB" uiCulture="en-GB" />

which is different from the server which is set to en-US

could this be causing session ends to fire?

also if you look at this part

Session started- 0 session started at 15/01/2005 09:39:46 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session login- 14 session loged in at 15/01/2005 09:39:54 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session started- 0 session started at 15/01/2005 09:45:47 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

Session login- 14 session loged in at 15/01/2005 09:46:09 sessionID =dabdxl355z001355ijt5lc55 SessionTimeout =120

session end was not called yet the session(userid") was lost and hense I was redirected to log on again





 
Old January 24th, 2005, 02:08 AM
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This topic is already discussed in depth in another thread

http://p2p.wrox.com/topic.asp?TOPIC_ID=12081






Similar Threads
Thread Thread Starter Forum Replies Last Post
session variable lost after redirec in classic ASP beetle_jaipur Classic ASP Professional 8 November 21st, 2008 02:18 AM
How to share Session variable between ASP.NET ergaurav.nex General .NET 0 December 21st, 2006 02:35 AM
How are Session variable maintened in ASP rekha_jsr Classic ASP Basics 1 November 30th, 2004 07:29 AM
Assigning Javascript variable to ASP session anaden Classic ASP Basics 2 September 18th, 2004 02:16 AM
ASP session variable problem asifqua Classic ASP Databases 4 June 5th, 2003 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.