473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Session lost after directory name changed

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
Nov 17 '05 #1
3 1378
Sty
Sorry for posting my message twice. I thought I had deleted the first
message (but I send it).

Renso
Nov 17 '05 #2
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,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Sty" <re*****@SPAMgmx.net> wrote in message
news:42**********************@text.nova.planet.nl. ..
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

Nov 17 '05 #3
Sty

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:er**************@tk2msftngp13.phx.gbl...
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

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Sty" <re*****@SPAMgmx.net> wrote in message
news:42**********************@text.nova.planet.nl. ..
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


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Roman | last post by:
Hi, I've installed .net on my server and since then I'm loosing my sessions from my (old) asp. e.g.: Session("test") works on the same page, but if the page is changed the whole session is...
0
by: SteveS | last post by:
Hello, this problem is driving me nuts! I am using the Content Ratings (RSACi) for my website. The settings strictly "G" rated - No violence, sex, nudity or offensive language. I have a user...
3
by: William | last post by:
Hi I have an ASP.NET application that connects to an Access database. Everything works fine except for the Session object. Data in the session object is lost after I've made a call to the...
13
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i...
2
by: Guns | last post by:
we have a session variable object that gets lost in the same event call. I have windows XP Pro as my os with the latest service pack... I have the .net 1.1 SP1 installed. Even tried installing 1.0...
4
by: Eric Porter | last post by:
Problem : I have a Web Server which is session enabled. I have a method within that server which if I call it repeatedly, it seems to forget the session every six re-tries, and all the data...
2
by: Tomas Martinez | last post by:
Hi, Well, my problem is so simple as it says in the subjet but very frustrating also. I have a project and it is losing the session variables with each postback, so I downloaded from the web a...
5
by: Sam | last post by:
Hi All, I have a very weird issue with my session variable and I'm hoping that someone can help me out. The issue is my session variable dissappears after a request is redirected to a new page....
2
by: jwhite68 | last post by:
The essence of my problem is this. 1. I login to my website with user/password. 2. I select any option, which effectively re-calls index2.php with some additional parameters, to control whats...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.