Session lost after directory name changed

  • Thread starter Thread starter Sty
  • Start date Start date
S

Sty

Hi,

I have a webapplication, which shows images in directories. There are
different sub directories and you can change the directory by a pull down
list. If I change the name of a directory, the entire session is lost! Does
anybody knows why it happens (security?)?

Does anybody have a solution or a workaround?

Renso
 
hi,

there are several events that trigger a reload of the application ( and
hence the lost of the sessions ) like a change in web.config or a change in
the /bin directory

I haven't hear that renaming another dir could trigger it too, you better
check MSDN or post it in microsoft.public.dotnet.framework.aspnet

why you rename the dir afterall?

cheers,
 
Sorry for posting my message twice. I thought I had deleted the first
message (but I send it).

Renso
 
Ignacio Machin ( .NET/ C# MVP ) said:
hi,

there are several events that trigger a reload of the application ( and
hence the lost of the sessions ) like a change in web.config or a change
in the /bin directory

I haven't hear that renaming another dir could trigger it too, you better
check MSDN or post it in microsoft.public.dotnet.framework.aspnet

Thanks for your reply. It makes sence that the application is restarted, but
I doesn't make sence why it does when a dir is renamed. The dir is not in de
bin dir (it is in a subdir of the application dir). I don't know why it
should reset the application. It even does it when you rename a dir with
windows explorer (you can try that for yourselve).
why you rename the dir afterall?

The dirs represent photo albums. The name of the dir is the name of the
photoalbum. If you want to change the name of the photo album, you need the
change the name of the dir. That's why I want to rename the dir.

Renso
 
Back
Top