Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET Session State Pin
Socheat.Net28-Jan-09 14:30
Socheat.Net28-Jan-09 14:30 
AnswerRe: ASP.NET Session State Pin
Colin Angus Mackay28-Jan-09 14:37
Colin Angus Mackay28-Jan-09 14:37 
GeneralRe: ASP.NET Session State Pin
Socheat.Net28-Jan-09 14:48
Socheat.Net28-Jan-09 14:48 
GeneralRe: ASP.NET Session State Pin
N a v a n e e t h28-Jan-09 14:59
N a v a n e e t h28-Jan-09 14:59 
GeneralRe: ASP.NET Session State Pin
Colin Angus Mackay28-Jan-09 15:03
Colin Angus Mackay28-Jan-09 15:03 
GeneralRe: ASP.NET Session State Pin
N a v a n e e t h28-Jan-09 15:07
N a v a n e e t h28-Jan-09 15:07 
GeneralRe: ASP.NET Session State Pin
Colin Angus Mackay28-Jan-09 15:23
Colin Angus Mackay28-Jan-09 15:23 
GeneralRe: ASP.NET Session State Pin
Colin Angus Mackay28-Jan-09 15:01
Colin Angus Mackay28-Jan-09 15:01 
Socheat.Net wrote:
So anyway that can do?


You have to find out what is causing it to expire first. This means adding some additional logging to your application (I presume you already have some logging already).

To start: In your Global.asax.cs/.bv file you'll have a method that handles the Application Start event. Log when ever that is called. If you notice that it is called around the same time as you lose your session then you know that your process isn't surviving long enough.

So, if your process isn't surviving very long you need to find out why. If you don't get lots of log messages in that area then you'll need to move onto the next step and log something else.

It is a process of trial and error with potentially many iterations.

* Developer Day Scotland 2 - Free community conference
* The Blog of Colin Angus Mackay


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

GeneralRe: ASP.NET Session State Pin
Socheat.Net28-Jan-09 15:52
Socheat.Net28-Jan-09 15:52 
GeneralRe: ASP.NET Session State Pin
Abhijit Jana28-Jan-09 16:02
professionalAbhijit Jana28-Jan-09 16:02 
QuestionDisplaying entire on contents of multiline textbox Pin
krup7528-Jan-09 13:05
krup7528-Jan-09 13:05 
AnswerRe: Displaying entire on contents of multiline textbox Pin
N a v a n e e t h28-Jan-09 14:42
N a v a n e e t h28-Jan-09 14:42 
GeneralRe: Displaying entire on contents of multiline textbox Pin
krup7528-Jan-09 15:01
krup7528-Jan-09 15:01 
GeneralRe: Displaying entire on contents of multiline textbox Pin
N a v a n e e t h28-Jan-09 15:12
N a v a n e e t h28-Jan-09 15:12 
GeneralRe: Displaying entire on contents of multiline textbox Pin
krup7528-Jan-09 15:55
krup7528-Jan-09 15:55 
Questiondata inserting problem into sql having single quote in it through asp form Pin
sana1728-Jan-09 10:18
sana1728-Jan-09 10:18 
AnswerRe: data inserting problem into sql having single quote in it through asp form Pin
ToddHileHoffer28-Jan-09 10:38
ToddHileHoffer28-Jan-09 10:38 
GeneralRe: data inserting problem into sql having single quote in it through asp form Pin
sana1728-Jan-09 22:07
sana1728-Jan-09 22:07 
AnswerRe: data inserting problem into sql having single quote in it through asp form Pin
N a v a n e e t h28-Jan-09 14:44
N a v a n e e t h28-Jan-09 14:44 
GeneralRe: data inserting problem into sql having single quote in it through asp form Pin
sana1728-Jan-09 22:06
sana1728-Jan-09 22:06 
QuestionCircula Button Pin
ziwez028-Jan-09 7:10
ziwez028-Jan-09 7:10 
Questionasp.net ajax accordion recursive method Pin
kuyucakli28-Jan-09 6:30
kuyucakli28-Jan-09 6:30 
Questionmulti thread in web service Pin
raquidd2228-Jan-09 4:49
raquidd2228-Jan-09 4:49 
AnswerRe: multi thread in web service Pin
Colin Angus Mackay28-Jan-09 14:46
Colin Angus Mackay28-Jan-09 14:46 
QuestionHow to allow a user and deny all others Pin
Le centriste28-Jan-09 4:11
Le centriste28-Jan-09 4:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.