Really desperate for help here as I've spent days trying to resolve this one.
We have a VB 2008 web browser app using a webbrowser control on our Kiosks at our uni - it works very well and locks down the workstation so teh students can only use it for the intended purpose.
As it never closes we need to kill the session cookies between users.
We can run this via the auto-homepage routine we have but nothing we've tried will kill them.
I've searched doezens of forums and tried the most common:
webbrowser1.Document.Cookie.Remove(0, (webbrowser1.Document.Cookie.Count - 1))
Also some java script that clears cookies for the current page but isn't usable as it means users would need to log in every time they click an internal link.
Other code suggests changing the dates so the cookies are expired but the code has a type used that doesn't seem to work with any 2008 namespace.
If anyone has a module or code that works with 2008, or can offer any advice that will kill or expire all cookies I would be very, very grateful.
Many thanks in advance - Adam.