HighTechTalks DotNet Forums  

Merging vb and c# web projects

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss Merging vb and c# web projects in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
stephg
 
Posts: n/a

Default Merging vb and c# web projects - 01-26-2005 , 09:33 AM






I have two web projects:
- One is a vb.net
- One is a C#
Is it possible to merge those 2 projects to a single one without translating
from C# to VB.NET or vise-versa?
Reason is, the login piece is part of vb.net and I use session cookies to
remember the userID accross all the pages. Now when I click on a link that
points to the C# part I can't get this session cookie, because I have another
session opened.
Of course I can use URL parameters, but I wouldn't like this since it is a
security leak.
thx


Reply With Quote
  #2  
Old   
bruce barker
 
Posts: n/a

Default Re: Merging vb and c# web projects - 01-26-2005 , 11:42 AM






yes, but VS doesn't support this very well. you need to create two projects,
one for the vb code, one for the c# code. you will need to have them point
to the same vdir. only one can have a global.asa. put them in the same
solution.

-- bruce (sqlwork.com)



"stephg" <stephg (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have two web projects:
- One is a vb.net
- One is a C#
Is it possible to merge those 2 projects to a single one without
translating
from C# to VB.NET or vise-versa?
Reason is, the login piece is part of vb.net and I use session cookies to
remember the userID accross all the pages. Now when I click on a link that
points to the C# part I can't get this session cookie, because I have
another
session opened.
Of course I can use URL parameters, but I wouldn't like this since it is a
security leak.
thx




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.