Summary

Summary

  • Cookies enable you to invisibly save information about a particular user. Cookies can be used to save the information directly on the user s computer or indirectly through a unique identifier, which is then referenced to retrieve user information from a data set stored on the server.

  • Use the Request object s Cookies collection to retrieve a cookie from the user. Use the Response object s Cookies collection to create or modify a cookie on the user s computer.

  • Set the Cookie object s Expires property to Now to delete a cookie from the user s computer.

  • Use the DllImport attribute to declare unmanaged procedures for use within .NET assemblies.

  • Create a reference to a COM object in Visual Studio to automatically create an interop assembly that allows you to use the COM object within .NET code.

  • To hide public .NET members from COM, use the ComVisible attribute.

  • Select a .NET class library project s Register For COM Interop build check box to automatically create a type library for the project and register the assembly with the system registry.

  • Client-side scripts let you control the browser window, respond immediately to non-postback events, and perform other tasks that are not possible from server-side code.

  • Use the Browser object s VBScript or JavaScript properties to test whether the browser can run scripts. Use an inline test script that redirects the users to another page to test whether a user has disabled scripting through his or her browser security settings.

  • Add script event procedures to a page s HTML to respond to events that occur on the client side rather than the server side.

  • Use the Mailto protocol to create a message that will be sent from the user s mail system. The Mailto protocol is used as part of a hyperlink.

  • Use the MailMessage and SmtpMail classes to compose and send messages from the server s mail system.

  • Create a Web reference to use an XML Web service from server-side code.

  • Use the WebService behavior to use an XML Web service from client-side code.



MCAD(s)MCSD Self-Paced Training Kit(c) Developing Web Applications With Microsoft Visual Basic. Net and Microsoft V[.  .. ]0-315
MCAD(s)MCSD Self-Paced Training Kit(c) Developing Web Applications With Microsoft Visual Basic. Net and Microsoft V[. .. ]0-315
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 118

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net