freelanceprogrammers.org Forum Index » ASP

session variables across .NET projects


View user's profile Post To page top
kpdeguzman Posted: Fri Jan 20, 2006 2:12 pm


Joined: 20 Jan 2006

Posts: 2
session variables across .NET projects
Hi, my question is about session variables.

I am doing a .NET project using VB. Another group is using C#. I
placed them in one solution.

If I will integrate the two projects, will a project under C# be able
to store session variables and pass it to a page in another project
coded in VB? Actually I tried this and it`s not passing the values.
Maybe there`s another way. Will storing the variables in the SQL
Server work?

I`ve been working out a solution for this for many days now. The
nearest I can find is to make a querystring. But I really don`t want
to do this if there`s a way to utilize the session variables like
they are just in one project.

Any suggestions, please?

Thanks in advance.

Karen
Reply with quote
Send private message
View user's profile Post To page top
dmartin@... Posted: Fri Jan 20, 2006 8:20 pm


Joined: 12 Jan 2006

Posts: 5
session variables across .NET projects
I don`t think you can use different programming languages in one project.
You can compile them separately into DLLs and place these DLLS in the bin
folder of the application virtual directory. Then you have to have references
to each other`s DLL in your code. This approach would require a lot of
coordination between the two teams.

You can always stored "session" variables in an external, common data store:
database, directory, etc. Then check the data store for passed values.









Quoting kpdeguzman <kdeguzman@...>:

>
> Hi, my question is about session variables.
>
> I am doing a .NET project using VB. Another group is using C#. I
> placed them in one solution.
>
> If I will integrate the two projects, will a project under C# be able
> to store session variables and pass it to a page in another project
> coded in VB? Actually I tried this and it`s not passing the values.
> Maybe there`s another way. Will storing the variables in the SQL
> Server work?
>
> I`ve been working out a solution for this for many days now. The
> nearest I can find is to make a querystring. But I really don`t want
> to do this if there`s a way to utilize the session variables like
> they are just in one project.
>
> Any suggestions, please?
>
> Thanks in advance.
>
> Karen
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Reply with quote
Send private message
View user's profile Post To page top
charlesmarkc... Posted: Sun Jan 22, 2006 6:56 am


Joined: 07 Jan 2006

Posts: 63
session variables across .NET projects
The probelm is merely the folders that are marked as apps.

Each folder marked as app in IIS has its own scope for session variables.

Remove the "make folder it`s own app" setting from IIS for one of the
projects or both and all will be fine.

On 1/20/06, kpdeguzman <kdeguzman@...> wrote:
>
> Hi, my question is about session variables.
>
> I am doing a .NET project using VB. Another group is using C#. I
> placed them in one solution.
>
> If I will integrate the two projects, will a project under C# be able
> to store session variables and pass it to a page in another project
> coded in VB? Actually I tried this and it`s not passing the values.
> Maybe there`s another way. Will storing the variables in the SQL
> Server work?
>
> I`ve been working out a solution for this for many days now. The
> nearest I can find is to make a querystring. But I really don`t want
> to do this if there`s a way to utilize the session variables like
> they are just in one project.
>
> Any suggestions, please?
>
> Thanks in advance.
>
> Karen
>
>
>
>
>
>
>
>
> ________________________________
> YAHOO! GROUPS LINKS
>
>
> Visit your group "AspNetAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> ________________________________
>
Reply with quote
Send private message
View user's profile Post To page top
kpdeguzman@... Posted: Sun Jan 22, 2006 8:26 am


Joined: 22 Jan 2006

Posts: 1
session variables across .NET projects
Thank you very much for your reply....

I am not sure how to remove "make folder its own app" setting from IIS.




----- Original Message -----
From: "Charles Carroll" <911@...>
To: <AspNetAnyQuestionIsOk@yahoogroups.com>
Sent: Sunday, January 22, 2006 8:56 AM
Subject: Re: [AspNetAnyQuestionIsOk] session variables across .NET projects


> The probelm is merely the folders that are marked as apps.
>
> Each folder marked as app in IIS has its own scope for session variables.
>
> Remove the "make folder it`s own app" setting from IIS for one of the
> projects or both and all will be fine.
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Reply with quote
Send private message
View user's profile Post To page top
kpdeguzman Posted: Sun Jan 22, 2006 9:03 am


Joined: 20 Jan 2006

Posts: 2
session variables across .NET projects
Thank you very much for your reply....

I am not sure how to remove "make folder its own app" setting from
IIS. Do I access it by clicking the properties of the application...
if so, what property tab is this setting located?






--- In AspNetAnyQuestionIsOk@yahoogroups.com, Charles Carroll
<911@l...> wrote:
>
> The probelm is merely the folders that are marked as apps.
>
> Each folder marked as app in IIS has its own scope for session
variables.
>
> Remove the "make folder it`s own app" setting from IIS for one of the
> projects or both and all will be fine.
>
Reply with quote
Send private message
View user's profile Post To page top
jamil_h_t Posted: Sun Jan 22, 2006 10:20 pm


Joined: 07 Jan 2006

Posts: 7
session variables across .NET projects
Dear All,

can anyone send a method in vb.net that make a ping ?

thanks


---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.

[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
rickholc Posted: Sun Jan 22, 2006 10:44 pm


Joined: 13 Jan 2006

Posts: 4
session variables across .NET projects
Look down the list to 1/15/2006

Steve posted this message:



http://www.aspdeveloper.net/tiki-index.php?page=ASPFAQPingServer







_____

From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com] On Behalf Of jamil tamimi
Sent: Sunday, January 22, 2006 11:20 AM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Ping Method



Dear All,

can anyone send a method in vb.net that make a ping ?

thanks


---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.

[Non-text portions of this message have been removed]




SPONSORED LINKS


Basic
<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+pro
gramming+language&w2=Computer+programming+languages&w3=Programming+languages
&w4=Java+programming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A>
programming language

Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic
+programming+language&w2=Computer+programming+languages&w3=Programming+langu
ages&w4=Java+programming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ>
programming languages

Programming
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programm
ing+language&w2=Computer+programming+languages&w3=Programming+languages&w4=J
ava+programming+language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ> languages


Java
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+prog
ramming+language&w2=Computer+programming+languages&w3=Programming+languages&
w4=Java+programming+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g>
programming language







_____

YAHOO! GROUPS LINKS



* Visit your group "AspNetAnyQuestionIsOk
<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk> " on the web.

* To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
<mailto:AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com?subject=Unsubscrib
e>

* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.



_____



[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
jamil_h_t Posted: Mon Jan 23, 2006 2:09 pm


Joined: 07 Jan 2006

Posts: 7
session variables across .NET projects
thank you, but i need a code in vs2003

Rick Holcomb <rholcomb@...> wrote: Look down the list to
1/15/2006

Steve posted this message:



http://www.aspdeveloper.net/tiki-index.php?page=ASPFAQPingServer







_____

From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com] On Behalf Of jamil tamimi
Sent: Sunday, January 22, 2006 11:20 AM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Ping Method



Dear All,

can anyone send a method in vb.net that make a ping ?

thanks


---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.

[Non-text portions of this message have been removed]




SPONSORED LINKS


Basic
<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+pro
gramming+language&w2=Computer+programming+languages&w3=Programming+languages
&w4=Java+programming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A>
programming language

Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic
+programming+language&w2=Computer+programming+languages&w3=Programming+langu
ages&w4=Java+programming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ>
programming languages

Programming
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programm
ing+language&w2=Computer+programming+languages&w3=Programming+languages&w4=J
ava+programming+language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ> languages


Java
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+prog
ramming+language&w2=Computer+programming+languages&w3=Programming+languages&
w4=Java+programming+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g>
programming language







_____

YAHOO! GROUPS LINKS



* Visit your group "AspNetAnyQuestionIsOk
<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk> " on the web.

* To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
<mailto:AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com?subject=Unsubscrib
e>

* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.



_____



[Non-text portions of this message have been removed]



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------






---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and
used cars.

[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
bitshop5 Posted: Mon Jan 23, 2006 2:47 pm


Joined: 11 Jan 2006

Posts: 2
session variables across .NET projects
Charles Carroll posted a message about the same time as mine with links
to .Net 1.1 methods, See my comment on the link below about using 1.1
methods and our experience with them, but his links were some of the
better ones out there.


Steve Radich - http://www.ASPDeveloper.Net - www.VirtualServerFAQ.com
BitShop, Inc. - http://www.bitshop.com - Managed Servers, Colocation,
Troubleshooting, Development and Perf Monitoring (C#,VB,ASP,SQL)
Dedicated Windows 2003 Machines Starting at $49/month


-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com] On Behalf Of jamil tamimi
Sent: Monday, January 23, 2006 3:10 AM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: RE: [AspNetAnyQuestionIsOk] Ping Method

thank you, but i need a code in vs2003

Rick Holcomb <rholcomb@...> wrote: Look down the
list to 1/15/2006

Steve posted this message:



http://www.aspdeveloper.net/tiki-index.php?page=ASPFAQPingServer







_____

From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com] On Behalf Of jamil tamimi
Sent: Sunday, January 22, 2006 11:20 AM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Ping Method



Dear All,

can anyone send a method in vb.net that make a ping ?

thanks


---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.

[Non-text portions of this message have been removed]




SPONSORED LINKS


Basic
<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic
+pro
gramming+language&w2=Computer+programming+languages&w3=Programming+langu
ages
&w4=Java+programming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A>
programming language

Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=B
asic
+programming+language&w2=Computer+programming+languages&w3=Programming+l
angu
ages&w4=Java+programming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ>
programming languages

Programming
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+prog
ramm
ing+language&w2=Computer+programming+languages&w3=Programming+languages&
w4=J
ava+programming+language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ>
languages


Java
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+
prog
ramming+language&w2=Computer+programming+languages&w3=Programming+langua
ges&
w4=Java+programming+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g>
programming language







_____

YAHOO! GROUPS LINKS



* Visit your group "AspNetAnyQuestionIsOk
<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk> " on the web.

* To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
<mailto:AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com?subject=Unsubs
crib
e>

* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.



_____



[Non-text portions of this message have been removed]



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



---------------------------------






---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on
new and used cars.

[Non-text portions of this message have been removed]




Yahoo! Groups Links
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help