Ask a Question related to ASP.NET Security, Design and Development.
-
Lauchlan M #1
Ending sessions when running in cookieless mode?
Hi.
I have an app that is running cookieless.
(ie
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="true"
timeout="20"
/>
)
The sesion variable is getting passed around in the url, as in
[url]http://localhost/MyWebApp/(0ufczt45npgtutzha3l23x55)/MyPage.aspx[/url]
Now, at some point I blitz the session (I want to log out a user and login
is handled with sessions instead of form authentication) with
Session.Abandon() . But the session variable in the url for the next page I
go to is still the same, eg
[url]http://localhost/MyWebApp/(0ufczt45npgtutzha3l23x55)/MyNextPage.aspx[/url]
So, how do I make sure the session gets blitzed in the URL as well as in the
HTTPSessionState?
The problem is that because it 'remembers' this session variable, it allows
going to pages that have already been visited previously in this 'session'
although the previous visit was actually someone elses session. So if I log
in as one kind of user in my web application and log out, and log in again
as a different user, I can still go to pages that I went to under the old
login when I shouldn't be able to.
Thanks!
Lauchlan M
Lauchlan M Guest
-
Sessions not ending based on time...
I have the following in a application.cfm file: <cfapplication sessionmanagement="yes" name="InnerElement"... -
turning cookieless mode false for client browsers that do not accept cookies
I have a question about cookies & browser permissions and turning off cookies when creating a web site (cookieless mode in web.config). I have a... -
webservices sessions only run in debug mode ?????
hi all !!! I have developed a web service that uses sessions (enablesession=true in webmethod attributes). The web service works fine when... -
Cookieless ASP Sessions
Hi, I really need to use cookieless ASP sessions with ASP 3 (IIS5) Can I find out the session ID from the first page, then post it or send it... -
Cookieless Sessions...
Hi, The URL I'm trying to access http://SERVER/VirtualDir/app/test.aspx This page has a lot of links and also images and CSS from the...



Reply With Quote

