Re: aspx.vb webform redirect to aspx.cs webform in another project within the same solution...and back again?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Natty Gur (natty_at_dao2com.com)
Date: 03/10/04


Date: Tue, 09 Mar 2004 23:08:31 -0800

Greg hi,

is that you ?

Technically you can use redirect but I wouldn't recommend doing so, its
better to write the page using vb.net.
1) The redirection from login page will return to a new instance of the
calling page.
2) You can transfer data between them just by using query string (it
better to use Form to transfer back to the calling page).
3) Redirect actually return to the client and redirect to the specified
address on the server. You are also moving across application domain.

If you want to create page that will serve both VB and C# applications
you can create your own base page with any language that you want that
handle login logic then create derived c# and VB visual pages to be used
in C# and VB projects.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages