Closed Thread Icon

Preserved Topic: Client-Side To Server-Side? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18417" title="Pages that link to Preserved Topic: Client-Side To Server-Side? (Page 1 of 1)" rel="nofollow" >Preserved Topic: Client-Side To Server-Side? <span class="small">(Page 1 of 1)</span>\

 
sdna2k
Bipolar (III) Inmate

From: Plano, TX
Insane since: Jun 2001

posted posted 08-02-2002 00:04

I need to use info server-side, that would be taken from client-side JavaScript... is there any way I can do this? Or more than one?

Thanks!

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 08-02-2002 00:06

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

sdna2k
Bipolar (III) Inmate

From: Plano, TX
Insane since: Jun 2001

posted posted 08-02-2002 00:16

So, if I could get the client-side variable info into a form field, hidden or otherwise... I could use the info, correct?

Thanks for the quick reply, btw.

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 08-02-2002 01:04

Perhaps if you explained what you are attempting to do, we might be might be able to offer a more elegent solution...


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 08-02-2002 01:04

Well there's a couple of other ways

There's the IE XMLTTP functions.
You could use some sort of iframe buffer method.
You could use a hidden flash app or Java app to pass realtime data back and forth from the client to the server side app.

What are you trying to do exactly?



.:[ Never resist a perfect moment ]:.

stinx
Bipolar (III) Inmate

From: London, UK
Insane since: Apr 2002

posted posted 08-02-2002 16:07

Or there's this thread that works for me (no page refresh / form submit required, and no external applications) - just call up a script url that has a GET query string

sdna2k
Bipolar (III) Inmate

From: Plano, TX
Insane since: Jun 2001

posted posted 08-02-2002 19:53

I'm taking the exact time from a JavaScript real-time/self-updating clock and putting it into a table... so the user can see the actual time (updating second-by-second/minute-by-minute) and have their system time be the actual time being input by the form submission, as opposed to the server time.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-02-2002 20:25

Oh good, that's not too hard then. Put an onsubmit event handler in the form tag that takes the current time with Javascript and makes it the value of a hidden input field. Then this time will be submitted with the rest of the form.

« BackwardsOnwards »

Show Forum Drop Down Menu