| How do browsers receive/send cookies? (3 replies) |
| ASPFriends.com 'aspngvb' list |
| When one makes an HTTP request and the server tries to set a cookie, is there any way of trapping the value and using it in subsequent requests (i.e. using a different HttpWebRequest instance)? If not, how exactly does one set the CookieContainer property to enable persistence of cookies between requests made by the same HttpWebRequest instance? Basically I just want to be able to carry an AspSess... |
|
| Get current path in VB class? (13 replies) |
| ASPFriends.com 'aspngvb' list |
| Group, I'm using a VB.Net dll in a web app, and I'd like to be able to get a representation of the path to that particular \bin directory (well, to the folder right above it), and I can't figure out how. I can get all kinds of neat information about the system through GetEnvironmentVariables, but nothing that just tells me the current path. Of course in a winform this would be a piece of cake, but... |
|
| index property accessor method (5 replies) |
| ASPFriends.com 'aspngvb' list |
| all, does anyone know the equivalent vb.net syntax for the following c# index property accessor method: public foo this[int index] { get { return ((foo)this[index]); } set { foo[index] value; } } i tried: ' index accessor public property me[index as integer] as Foo Get return (CType(me[index], Foo)) End Get Set(ByVal Value) Me[index] Value End Set End Property but i get "Keyword is not valid as an... |
|