🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.intrabuilder.forms
Article #3

Re: Change form client side to Server side

#3
From: Remigiusz Sokolowski
Date: Wed, 26 Aug 1998 00:00
24 lines
1858 bytes
> I've got a login form for my own Intranet. It  includes the username,
> password and LOGIN Button (JavaScript on server side, "onServerClick").
> Behind this button is the code to access to my database. Now I can decide
> does this user have access or not. If he has I  want to save this information
> in a cookie. Unfortunately I can not save my information in a cookie
> (document.cookie "ID=Pat") from the server side. For that reason I have to be
> on the client side.
> After that login from I open a new form and the only connection between this
> 2 forms is my cookie. My question is now how can I change between this 2
> sides
> Client Side -> Server Side : Submit (JavaScript Order)onServerSubmit
> Server Side -> Client Side :  any order ???
> 
> Any clue ?
> Patrick Mastai
If You want use Submit to be on server side, You should know, that after
running code on server side You always get an answer on client side - so
You're on the client side (You can pass values by using hidden
components). Is this a solution?
	Rem
-------------------------------------------
Remigiusz Sokolowski      
e-mail: rems@gdansk.sprint.pl
-------------------------------------------
Technical Details
Message-ID: <Pine.GS4.4.02A.9808260957010.8016-100000@netra.gdansk.sprint.pl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35E2AB74.86E8710A@escor.ch> <35e350ed.433511@forums.borland.com> <35E3A477.2FDA1D76@escor.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 14644c,97a23ca15f18d88
X-Google-Attributes: gid14644c,public
From: Remigiusz Sokolowski <rems@gdansk.sprint.pl>
Subject: Re: Change form client side to Server side
Date: 1998/08/26
Message-ID: <Pine.GS4.4.02A.9808260957010.8016-100000@netra.gdansk.sprint.pl>
X-Deja-AN: 384847297
References: <35E2AB74.86E8710A@escor.ch> <35e350ed.433511@forums.borland.com> <35E3A477.2FDA1D76@escor.ch>
To: Patrick Mastai <mastai@escor.ch>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.intrabuilder.forms