sdlangers Posted December 17, 2003 Posted December 17, 2003 Hi, I have an aspx page that works fine when cookie blocking is turned off. but when i block the cookies on that url, it doesnt work the same. All that i have on the page is a user/password text boxes with a login button that authenticates against a web server and then, if authorized, redirects to a different page (on another url) In other words - i dont use cookies at all. Does asp.net use some sort of cookies to store state or something that is causing this? Thanks. Quote
Administrators PlausiblyDamp Posted December 17, 2003 Administrators Posted December 17, 2003 Session variables are identified by a cookie, that could be the problem. Also Forms authentication uses cookies to track which sessions are authenticated - not sure if this will work without cookies though. However if you look in web.config there is an option for cookieless sessions - try turning that on. This can cause other problems though as it will rewrit ethe URL to contain the session ID - try it and you will see what I mean. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Moderators Robby Posted December 17, 2003 Moderators Posted December 17, 2003 Exactly, If you use Cookieless then the session details will be added to the QueryString. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.