Ask a Question related to ASP.NET General, Design and Development.
-
Mark MacRae #1
Re: Session Losing Data
Edwin,
The directory being "moved" is really a directory being renamed that
contains an image file that was just uploaded to a temporary directory.
We're using the file control to upload the image to that temp directory,
then saving it to a permanent location once the user hits "save".
So no, there's no config files in the directory since it was just created
seconds beforehand.
mark
"Edwin Kusters" <NOSPAMeksnews@xs4all.nl> wrote in message
news:%23%23AY5ZTTDHA.1712@TK2MSFTNGP11.phx.gbl...call> Mark,
>
> This is a wild guess and I could be totally wrong, but does the dir youtouched> move on contain one of the .config files? Could be that they end uplogging> and your app gets reloaded because of a 'changed' config..
>
> You could easily test if you end up causing a reload by adding someonly> code in application_start()
>
> Hope this helps,
> Edwin Kusters
>
> "Mark MacRae" <nospam@nospam.com> wrote in message
> news:eYs$e6STDHA.2120@TK2MSFTNGP10.phx.gbl...> > My Session is losing everything during a Response.Redirect from the
> > codebehind page (*.cs).
> >
> > I've seen posts from other people who've had this problem, but their
> > solutions don't work for me.
> >
> > Both ASPX pages are in the same project.
> >
> > The Session doesn't lose everything every time the redirect is made,other> in> > a specific case where some code is executed that includes a
> > Directory.Move(). I've used basically a carbon copy of this code onwould> > pages that do similar things with no trouble, so I'm not sure why itbut> > affect anything now.
> >
> > I have debugged and can verify that the Session always retains all it's
> > variables right up until the point where Response.Redirect is called,gone -> by> > the time we get to Page_Load on the target page, the variables are>> > please help!
> >
> >
>
Mark MacRae Guest
-
Losing session on xp ie6
I'm having a problem with some users losing their session - it seems to be only xp ie6 machines affected. Even with cookies blocked it works fine... -
losing session
I'm having a problem with some users losing their session - it seems to be only xp ie6 machines affected. Even with cookies blocked it works fine... -
SOLVED [PHP] SESSION variables losing data on WinXP?
In case anyone else runs into this problem, the way I solved it was by reinstalling php with the windows installer from php.net. I'm not exactly... -
[PHP] SESSION variables losing data on WinXP?
I believe all pages in your site are protected by session variables. Try to login first, then go where you want to go. Or try to remark codes which... -
losing a session?
Hi Is it possible to lose a session? For instance if on www.coke.com $_SESSION = x; is set and on www.pepsi.com $_SESSION = notX; is set. ...



Reply With Quote

