Re: [ADVANCED-DOTNET] Strange cookie behavior

2005-01-13 Thread Muhammad Adel
Brock Allen wrote: If the user successfuly authenticate, a cookie should be put on his computer, which expires after 30 minutes.When I check the cookie expiration date from inside the browser, I find it is the expected time added to it 51 years! For example if the cookie should expire on january 14

Re: [ADVANCED-DOTNET] Strange cookie behavior

2005-01-13 Thread Brock Allen
> If the user successfuly authenticate, a cookie should be put on his > computer, which expires after 30 minutes.When I check the cookie > expiration date from inside the browser, I find it is the > expected time > added to it 51 years! > For example if the cookie should expire on january 14 2004 a

[ADVANCED-DOTNET] Strange cookie behavior

2005-01-13 Thread Muhammad Adel
I am trying to use forms authentication in an application. I set the authentication element as follows in the web.config file: If the user successfuly authenticate, a cookie should be put on his computer, which expires after 30 minutes.When I check the cookie expiration dat

Re: [ADVANCED-DOTNET] previous experience with using MySql with .NET

2005-01-13 Thread Muhammad Adel
Ola Tinoco-Ekdahl wrote: Try using a native driver, http://www.google.com/search?q=MySQL+Native+%2ENET+Provider. What sort of problems do you run into? --ola -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Adel Sent: W

Re: [ADVANCED-DOTNET] Interop: Correct signature for IEnumXXXX::Next() methods?

2005-01-13 Thread Mattias Sjögren
Shawn, Or, should I model it as a top-level pointer to an array, and specify the direction with the [Out] attribute? int Next( int celt, [Out] SyncMgrItem[] rgelt, out int pceltFetched); Yep! But you should also include the attribute MarshalAs(UnmanagedType.LPArray), si

[ADVANCED-DOTNET] Interop: Correct signature for IEnumXXXX::Next() methods?

2005-01-13 Thread Shawn A. Van Ness
I'm attempting a managed implementation of a COM interface, which enumerates structures... (The interface is ISyncMgrEnumItems, defined in MobSync.idl, for anyone who wants to play along.) Here's the relevant snippet of IDL: HRESULT Next( [in] ULONG celt, [out, size_is(celt),

Re: [ADVANCED-DOTNET] Indexing 100 million strings...

2005-01-13 Thread Srihari Angaluri
Pradeep, Let me just start by saying that I haven't read all the other responses to this question. If my response overlaps with others, please excuse me. Are you restricted to using a single machine, or the .NET Framework itself, in order to solve this problem? If, not, then I want to suggest that

Re: [ADVANCED-DOTNET] Indexing 100 million strings...

2005-01-13 Thread Pradeep Tapadiya
Good questions. Didn't realize anyone would think through it so much:-). Answers are inline. I appreciate your help. Pradeep Are you going to process the strings-and-associated-integers all at once in a run-it-once task, then distribute an on-disk rendition of the info for access later?