Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Could I set cookieless base on each session?

0 views
Skip to first unread message

davidw

unread,
May 19, 2003, 3:00:57 PM5/19/03
to
I know I can set the config.web to make all sessions cookieless, but I think
I would like clients who support cookie still use cookie, only those don't
support cookie use the cookieless setting. Is there a solution?


Thanks!


eruess

unread,
May 20, 2003, 12:16:23 PM5/20/03
to
You could copy the current website data into another seperate folder, so
that you have 2 copies of the website. In one folder have cookieless=false
web.config and in the other, cookieless=true web.config. Then have a
homepage or login page 1 level above these folders that tests for cookie
writing & redirects the user to appropriate version of the website, or, asks
the user to choose the version of website they desire, cookieless or using
cookies.

This is a little inconvienent though in that you must maintain 2 copies of
the website... but just an idea. Because the cookieless setting comes from
the web.config, I don't know if you can override it from the session and I'm
pretty sure you can't change it on the fly.

e

"davidw" <wyx...@hotmail.com> wrote in message
news:uGXD8jjH...@TK2MSFTNGP10.phx.gbl...

0 new messages