Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Need help on a project for work...
Need help on a project for work...
2005-07-12, 4:13 PM #1
At work we are trying to add to an already existing program, it's a retail point-of-sale system. The main area of the program has a couple of toolbars, and their logo/help system in HTML in the middle. We've already written an interface using VB that acts as a web server, and interfaces with one of our other programs.
So lets say we wanted to display a store transfer page, I'd just link to http://localhost:1988/storetrans?date=02042005+trans=234

That would fetch the info from the DB, and generate a HTML page, and serve it to the program. It's rather nice. :D

What we would like to do though, is not have the user log in twice. Right now it's once to log onto the retail system, and then again on the HTML. Is there a way I could get from that program what user is currently logged in? There's not a way to talk to the program, and the company isn't interesting in helping us at all. :mad: Maybe I could get that info from where it stores it in RAM?

If anyone has any ideas that would be great. :D
gbk is 50 probably

MB IS FAT
2005-07-12, 4:20 PM #2
Any reason you wrote a web server in VB?

If you were using apache or IIS you could easily track users through cookies and/or sessions in a server side scripting language.
TheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWho
SaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTh
eJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSa
ysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJ
k
WhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSays
N
iTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkW
2005-07-12, 8:02 PM #3
That wouldn't help, I need the user name that is logged in on the program.

Anyone?
gbk is 50 probably

MB IS FAT
2005-07-13, 4:51 AM #4
I don't know how they do it, but if you log onto Sony's Launchpad and then go to one of their sites, you'll be automatically loged in. However, I do know that their program pulls HTML code for Internet Explorer...or something.
"The solution is simple."

↑ Up to the top!