Re: session variable getting lost

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.

.



Relevant Pages

  • Re: The Promise of Forth
    ... abandoned it had no real reason to, ... about a computer language being in the position that Forth is in. ... chance to become popular even with some bad breaks. ... lost while they're rare. ...
    (comp.lang.forth)
  • Re: Bias Towards Television Scores
    ... Anatomy ends the same way with a pop song montage and philosophical ... For some reason, Sean Callery's work on 24 is highly regarded, and ... I haven't watched "Lost" since season one, ... there made the same impression on me, which is to say, not much. ...
    (rec.music.movies)
  • SRB Timeline
    ... So I don't believe they will find a good reason in their Charter to deny me ... The "lost" message offends their Baha'i protectionism, ... religions have, but that does not mean that your religion is devoid of such ... a line to God. ...
    (talk.religion.bahai)
  • Re: Nadar nadir?
    ... IMO Gore ran a relatively poor campaign. ... Anyway, IMO, the primary reason Gore lost is because of Gore. ...
    (rec.music.gdead)
  • from time to time some confident finding
    ... which, when shared, afflict their possessors more by the want of the part he ... And their reason is that this desire, being natural to man, since it ... True nature being lost, everything becomes its own nature; ...
    (sci.crypt)