Re: session variable getting lost
- From: wawang@xxxxxxxxxxxxxxxxxxxx ("Walter Wang [MSFT]")
- Date: Wed, 07 Nov 2007 03:23:02 GMT
Hi SAL,
Based on my understanding, you're redirecting to the second page right
after setting the session variable, right? If this is the case, there's no
reason the session variable will be lost due to session timeout. Could you
please double check if the session variable is really lost or it's because
the query that uses the variable to retrieve records from database returns
empty result?
By the way, there's another way to pass variables between pages using
Context.Items and Server.Transfer:
#Famil Jones : Pass Variables Between ASP.NET Pages
http://www.dotnetjunkies.com/WebLog/familjones/archive/2004/04/08/11020.aspx
Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- session variable getting lost
- From: SAL
- Re: session variable getting lost
- From: Mark Rae [MVP]
- Re: session variable getting lost
- From: SAL
- session variable getting lost
- Prev by Date: Help with Select Case
- Next by Date: Screen Capture
- Previous by thread: Re: session variable getting lost
- Next by thread: Re: session variable getting lost
- Index(es):
Relevant Pages
|