Click here to Skip to main content
15,918,041 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Access JavaScript variable in C#. Pin
astrovirgin16-Sep-08 19:52
astrovirgin16-Sep-08 19:52 
AnswerRe: Access JavaScript variable in C#. Pin
Sandeep Akhare16-Sep-08 20:40
Sandeep Akhare16-Sep-08 20:40 
QuestionAdding multiple records to a table. Pin
udaykatakam16-Sep-08 17:25
udaykatakam16-Sep-08 17:25 
AnswerRe: Adding multiple records to a table. Pin
Ashfield16-Sep-08 21:54
Ashfield16-Sep-08 21:54 
GeneralRe: Adding multiple records to a table. Pin
udaykatakam16-Sep-08 22:01
udaykatakam16-Sep-08 22:01 
GeneralRe: Adding multiple records to a table. Pin
Ashfield17-Sep-08 2:07
Ashfield17-Sep-08 2:07 
Questionsession values lost in release mode Pin
Dpriya16-Sep-08 14:25
Dpriya16-Sep-08 14:25 
AnswerRe: session values lost in release mode Pin
Gayani Devapriya16-Sep-08 21:25
Gayani Devapriya16-Sep-08 21:25 
Hi,

There are two things you can try.
First of all before accessing the values from the Session check if the value is null and if not only asssign it.
By this way you could over come the exception been throws.

Secondly for your Session expiration, just increase the session time out period and see if it works.
Use this code in Web.Config
<system.web>
<sessionState timeout="60"/>
</system.web>
Note: timeout is stated in minutes

Also, just check if your session is stored in memory or some where else.
In case it could be stored in some where else.
So if you have the tag SessionState check the mode property.
If not mentioned it will be stored in memory by default.

Hope it helps.
Thx,
Gayani
AnswerRe: session values lost in release mode Pin
Sandeep Akhare16-Sep-08 23:12
Sandeep Akhare16-Sep-08 23:12 
QuestionSession name Pin
michael_jhons16-Sep-08 7:40
michael_jhons16-Sep-08 7:40 
AnswerRe: Session name Pin
Paul Conrad16-Sep-08 8:31
professionalPaul Conrad16-Sep-08 8:31 
AnswerRe: Session name Pin
NeverHeardOfMe16-Sep-08 8:59
NeverHeardOfMe16-Sep-08 8:59 
GeneralRe: Session name Pin
michael_jhons16-Sep-08 23:40
michael_jhons16-Sep-08 23:40 
GeneralRe: Session name Pin
Sandeep Akhare17-Sep-08 0:01
Sandeep Akhare17-Sep-08 0:01 
GeneralRe: Session name Pin
michael_jhons17-Sep-08 1:00
michael_jhons17-Sep-08 1:00 
AnswerRe: Session name Pin
Steve Echols16-Sep-08 19:56
Steve Echols16-Sep-08 19:56 
Question[Message Deleted] Pin
sameera2816-Sep-08 5:48
sameera2816-Sep-08 5:48 
AnswerRe: web hosting service Pin
NeverHeardOfMe16-Sep-08 7:20
NeverHeardOfMe16-Sep-08 7:20 
QuestionAbout GrideView Bind IList<t></t> Pin
jason_mf16-Sep-08 4:17
jason_mf16-Sep-08 4:17 
AnswerRe: About GrideView Bind IList Pin
N a v a n e e t h16-Sep-08 5:40
N a v a n e e t h16-Sep-08 5:40 
Questionextracting sustrings from a string to array Pin
wajans16-Sep-08 3:54
wajans16-Sep-08 3:54 
AnswerRe: extracting sustrings from a string to array Pin
Linda1st16-Sep-08 10:06
Linda1st16-Sep-08 10:06 
QuestionUnable to evaluate expression because the code is optimized or a native frame is on top of the call stack error Pin
sanjubaba16-Sep-08 3:48
sanjubaba16-Sep-08 3:48 
AnswerRe: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack error Pin
Sandeep Akhare16-Sep-08 21:47
Sandeep Akhare16-Sep-08 21:47 
GeneralRe: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack error Pin
sanjubaba17-Sep-08 19:39
sanjubaba17-Sep-08 19:39 

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.