Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP

Status
Not open for further replies.

Westond

Programmer
Jan 19, 2005
43
US
Hey Guys/Gals,

Here is my problem. I have a large project that is in Coldfusion that has a login which creats a session variable called Auth. All new code must be in .NET so I am adding a new module to the application but I need the files to be covered by login ie session.Auth. How do I pass my session variable or keep it alive for a user when linking from a coldfusion application to a .net application??

THANKS ALOT for any help
 
Please use descriptive titles for your threads.

You easiest option for this would probably be to store a random string in the DB and associate this with the login, then pass the string over to the .NET app which would then check the database to see if the string was correct, if so then treat them as logged in. You would want the string to be random and also quite long to prevent security issues.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion 7/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
If I insert a record in the database when someone loggs into the coldfusion app.. How will I know when the session expires and how will I clean up the records? I don't want to have a table that 1 I am accessing all the time and 2 that I have to figure out some way to do constant cleanup on. Maybe there is a way to pass a cgi?
 
you'r going to have some overhead trying to integrate to different systems like this. Until you are switched over to 100% .net, you'll have to make some sacrifices.


If this is intranet and you have the ability to ensure that cookies are enabled, you could use them as a shared scope between the servers if they are coming from the same domain?

Kevin
 
Yes they are on the same domain. Both sites are intranet

How do you share scope with cookies?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top