On Jan 25, 12:11 pm, bruce barker
<brucebar...@discussions.microsoft.com> wrote:
> no codebehind changes usually are required except with redirects. you should
> be using relative or "~" urls. links can also be a problem.
>
> this is because cookieless changes the url to have a login ticket. say your
> site is:
>
> http://localhost/mysite/default.aspx
>
> in cookieless it becomes
>
> http://localhost/mysite/<login ticket>/default.aspx
>
> if your redirect does not include the login ticket, then the user is logged
> out. you can use cookiesless sessions, and the session ticket is appended to
> the authenication ticket.
>
> -- bruce (sqlwork.com)
>
Thanks. Our client is cookie-phobic, even if it is encrypted and only
contains the username (which is public info anyway) and some
timestamp. So, I thought maybe I can do cookieless.
But, after reading some articles online, I find that cookieless
session may even be worse because the session id directly displays
itself in the URL (at least it is much easier to steal).
So, I guess my question becomes this:
Given that cookies are not allowed, what's the most secure way of
doing authentication? I don't want to go for the classic-asp approach
of checking the session value of USERNAME (for example) on each and
every single page. I am using asp.net 2.0.