The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Jan 05, 2007 4:33 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 05, 2007 4:28 pm
Posts: 6
I have a client that is using the Joomla 1.0.11 stable for their CMS system.  They are having me write them a new portion of their website in asp.net.  They want me to capture the user informaion from Joomla with in the asp.net application.  I have no clue on how joomla works and am trying to find someone who knows how to do this.  I need to be able to query the information from joomla with in the asp.net website.

Thank you for any help.


Top
 Profile  
 
PostPosted: Wed Jan 10, 2007 6:58 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 05, 2007 4:28 pm
Posts: 6
I did figure out how to do this if anyone else would like to know....


Top
 Profile  
 
PostPosted: Wed Oct 31, 2007 9:10 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Oct 29, 2007 5:18 pm
Posts: 4
i would love to know my website is http://www.specialforcesguild.com


Top
 Profile  
 
PostPosted: Wed Oct 31, 2007 10:42 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Aug 14, 2007 5:14 pm
Posts: 29
ASP.net and PHP (what Joomla! runs) don't share data very well, so your best bet would be to see what you can pass via cookies and write code to get what other info you need out of the database.

Of course, if there is no actual technical need for ASP.net, it would work best to keep the language consistent across the site.

_________________
Motoko-chan
Marketing Agent / Assistant Project Manager
Simple Machines


Top
 Profile  
 
PostPosted: Fri Nov 02, 2007 9:58 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 05, 2007 4:28 pm
Posts: 6
Hello,

It was very easy, I used mysql with in asp.net and it connected just fine to joomla.  I was able to verify them logging in against the joomla database.  You will also have to look up asp.net on the encryption they use on their passwords.  But the encrytion type they use is built right in to asp.net.  If you need more help with it let me know.  I was able to connect to joomla and read, update and even write into joomla right from my backend code in asp.net.


Top
 Profile  
 
PostPosted: Fri Nov 02, 2007 10:14 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 05, 2007 4:28 pm
Posts: 6
Here is the code on how to do it.
Remember that joomla uses a MD5 encryption on the password.  So you will have to go out on the internet and search on MD5 aps.net and there is sites out there with the code you can use.  You will need to run their password thru the aps.net MD5 function and then compare it to the password you get from joomla.....

Dim conn As MySQLConnection = New MySQLConnection(New MySQLConnectionString("Put IP Address Here For Joomla", "database name", "userid", "password").AsString)

conn.Open()

Dim cmd As MySQLCommand = New MySQLCommand("select name from jos_users", conn)

Dim reader As MySQLDataReader = cmd.ExecuteReaderEx()

While (reader.Read())

Response.Write("Low Level - Host:" + reader.GetString(0) + " , User:" + reader.GetString(1))

End While

reader.Close()

cmd.Dispose()


Top
 Profile  
 
PostPosted: Fri Mar 27, 2009 6:06 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 03, 2008 9:25 am
Posts: 16
hi Chief,

Can you tell me how to authenticate a Joomla user through ASP.net ?
We are able to connect to the MySQL database through ASP.net but cant figure out how do we pick and identify the sessions of individual users. We want to authenticate the loged in Joomla users so that they can directly log into other applications running on ASP.net.

any idea?


Top
 Profile  
 
PostPosted: Thu Nov 19, 2009 7:07 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Nov 19, 2009 7:02 am
Posts: 2
You can check this link below, it very simple !

http://blog.microsync.net/web-developme ... lications/


Top
 Profile  
 
PostPosted: Fri Mar 05, 2010 1:56 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Nov 19, 2009 7:02 am
Posts: 2
Hi,

Sorry about this post but I can not find "Edit" button on post above !

My blog change a little, here is new link: http://blog.microsync.net/asp-net/authe ... lications/

Thanks !


Top
 Profile  
 
PostPosted: Sat Oct 23, 2010 5:38 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Mon Sep 21, 2009 6:56 am
Posts: 2068
Location: indore,india
Hi,
why don't you call some web service?than you can access your data from anywhere

_________________
abhijeet kurchania
The future depends on what you do today


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 



Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group