Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-03-2004, 03:29 PM   #1
Beta Member
 
Phoenix's Avatar
 
Join Date: Oct 2004
Posts: 2
Send a message via AIM to Phoenix Send a message via MSN to Phoenix
Default Java2CGI

I have a website (well I will once it is online) and it is CGI created by Perl. I want a java applet in it, this java applet will take some information, and (based on users desicions) change that piece of information. The Perl script, loads up the MySQL database, and then inserts the information in the param things of the HTML tags, so the java applet can pick it up.

But the problem is, I can't think of a way that the java applet can return the information (either to the CGI or the MySQL database, with out using cookies though...)

Please could someone help.
__________________

Phoenix is offline   Reply With Quote
Old 10-04-2004, 11:19 AM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: Java2CGI

A difficult one, the javascript can't use session variables as it's not server based, however you can send information to the server side scripts using both the standard post and get methods...
__________________

root is offline   Reply With Quote
Old 10-04-2004, 03:07 PM   #3
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

Why can you not use Cookies?
__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 10-04-2004, 04:38 PM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: Java2CGI

not everyone has them swithed on... I'll assume the information you want to store is quite vital, and the site will be broken for anyone who blocks cookies either deliberatly or because they are behind a cookie blocking proxy server...

the worlds most popular proxy appears to be Squid, and whilst I was at uni noticed some weird behavior with squid and some cookie based forums (not this one thank god).
root is offline   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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0