Hello,
Is it possible to send form values from PAGE1 to PAGE2, and then retain the
form info for PAGE3 without using cookies, sessions or DB storage? Also, I
dont want to repost page2 to page3 using hidden form fields.
Just curious! Want to know how to "simply" maintain user form inputs across
a web site even when security and privacy controls are set to MAXIMUM on the
browser. I know using databases would do it, but I would love to find a
simpler solution.
Gary. 13 1722
You need some way to maintain state. HTTP is a stateless mechanism.
so you need to either:
a) use some kind of hidden page storage
b) use some kind of capability of the browser (eg cookies)
c) use some kind of storage capability of the server (eg a database, or ASP
sessions). However, you are stil stuck with the problem of associating the
stored data with the user's next request. Even ASP Sessions rely on the
browser accepting an ASPSessionID cookie that contains the Session's ID
value. This needs to be returned on the next request, so IIS can associate
the browser with their existing session.
Cheers
Ken
"G" <no**********@here.com> wrote in message
news:c3*******************@news.demon.co.uk...
: Hello,
:
: Is it possible to send form values from PAGE1 to PAGE2, and then retain
the
: form info for PAGE3 without using cookies, sessions or DB storage? Also,
I
: dont want to repost page2 to page3 using hidden form fields.
:
: Just curious! Want to know how to "simply" maintain user form inputs
across
: a web site even when security and privacy controls are set to MAXIMUM on
the
: browser. I know using databases would do it, but I would love to find a
: simpler solution.
:
: Gary.
:
:
> so you need to either: a) use some kind of hidden page storage b) use some kind of capability of the browser (eg cookies) c) use some kind of storage capability of the server (eg a database, or
ASP sessions). However, you are stil stuck with the problem of associating the stored data with the user's next request. Even ASP Sessions rely on the browser accepting an ASPSessionID cookie that contains the Session's ID value. This needs to be returned on the next request, so IIS can associate the browser with their existing session.
So, No? :)
Hi,
I take it that the site is supposed to be pretty secure.
Could you not use a querystring, passing the values in the URL from page to
page?
Or is this not what you were looking for?
I suggest you look at implementing another solution (as opposed to ASP) if
you require this functionality, as Ken stated the points in ASP. (take a
look at Coldfusion, there are some very useful tags that allow this kind of
security and form maintenance)
Hope this helps
--
Fawke
Please remove ANTI and SPAM
from my email address before emailing me. www.bradflack.com
"G" <no**********@here.com> wrote in message
news:c3*******************@news.demon.co.uk... so you need to either: a) use some kind of hidden page storage b) use some kind of capability of the browser (eg cookies) c) use some kind of storage capability of the server (eg a database, or ASP sessions). However, you are stil stuck with the problem of associating
the stored data with the user's next request. Even ASP Sessions rely on the browser accepting an ASPSessionID cookie that contains the Session's ID value. This needs to be returned on the next request, so IIS can
associate the browser with their existing session.
So, No? :)
Since you have eliminated most forms of doing this, the Hidden Form Fields
is about the only ASP method you have left yourself.
--
Phillip Windell [MCP, MVP, CCNA] www.wandtv.com
"G" <no**********@here.com> wrote in message
news:c3*******************@news.demon.co.uk... so you need to either: a) use some kind of hidden page storage b) use some kind of capability of the browser (eg cookies) c) use some kind of storage capability of the server (eg a database, or ASP sessions). However, you are stil stuck with the problem of associating
the stored data with the user's next request. Even ASP Sessions rely on the browser accepting an ASPSessionID cookie that contains the Session's ID value. This needs to be returned on the next request, so IIS can
associate the browser with their existing session.
So, No? :)
Nevermind,..I see you've eliminated those as well.
--
Phillip Windell [MCP, MVP, CCNA] www.wandtv.com
"Phillip Windell" <@.> wrote in message
news:#5**************@TK2MSFTNGP11.phx.gbl... Since you have eliminated most forms of doing this, the Hidden Form Fields is about the only ASP method you have left yourself.
--
Phillip Windell [MCP, MVP, CCNA] www.wandtv.com
"G" <no**********@here.com> wrote in message news:c3*******************@news.demon.co.uk... so you need to either: a) use some kind of hidden page storage b) use some kind of capability of the browser (eg cookies) c) use some kind of storage capability of the server (eg a database,
or ASP sessions). However, you are stil stuck with the problem of associating the stored data with the user's next request. Even ASP Sessions rely on
the browser accepting an ASPSessionID cookie that contains the Session's
ID value. This needs to be returned on the next request, so IIS can
associate the browser with their existing session.
So, No? :)
"Phillip Windell" <@.> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl... Nevermind,..I see you've eliminated those as well.
lol ;)
Just wanted to see if there was another way, thought I would eliminate all
the methods I knew of and see which clever boffin could come up with
another...
G.
"G" <no**********@here.com> wrote in message
news:c3*******************@news.demon.co.uk... "Phillip Windell" <@.> wrote in message news:eF**************@TK2MSFTNGP11.phx.gbl... Nevermind,..I see you've eliminated those as well. lol ;) Just wanted to see if there was another way, thought I would eliminate
all the methods I knew of and see which clever boffin could come up with another...
G.
You didn't disclude the Application scope. So, you could generate a GUID
(globally unique identifier) and store an XML representation of the
state in the Application scope under that GUID. Then pass around the
GUID in the action attribute of your forms.
-Chris Hohmann
At some point though, you still need to send something to the client (and
have the client return it), so that the server can maintain session state.
In which case, you might as well use hidden form fields, or cookies, or one
of the other things mentioned.
Cheers
Ken
"Chris Hohmann" <no****@thankyou.com> wrote in message
news:Oh****************@TK2MSFTNGP11.phx.gbl...
: "G" <no**********@here.com> wrote in message
: news:c3*******************@news.demon.co.uk...
: >
: > "Phillip Windell" <@.> wrote in message
: > news:eF**************@TK2MSFTNGP11.phx.gbl...
: > > Nevermind,..I see you've eliminated those as well.
: >
: > lol ;)
: > Just wanted to see if there was another way, thought I would eliminate
: all
: > the methods I knew of and see which clever boffin could come up with
: > another...
: >
: > G.
:
: You didn't disclude the Application scope. So, you could generate a GUID
: (globally unique identifier) and store an XML representation of the
: state in the Application scope under that GUID. Then pass around the
: GUID in the action attribute of your forms.
:
: -Chris Hohmann
:
:
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:u4**************@TK2MSFTNGP11.phx.gbl... At some point though, you still need to send something to the client
(and have the client return it), so that the server can maintain session
state. In which case, you might as well use hidden form fields, or cookies,
or one of the other things mentioned.
The OP indicated that he did not want to use hidden form fields,
cookies, sessions or DB. The scenario I proposed uses none of these. The
GUID associated with the state is passed via the form's action
attribute. I am not endorsing this methodology, I am simply offering up
a solution that meets the OP's requirements.
-Chris Hohmann
"G" wrote in message news:c3*******************@news.demon.co.uk...
: Is it possible to send form values from PAGE1 to PAGE2, and then retain
the
: form info for PAGE3 without using cookies, sessions or DB storage? Also,
I
: dont want to repost page2 to page3 using hidden form fields.
:
: Just curious! Want to know how to "simply" maintain user form inputs
across
: a web site even when security and privacy controls are set to MAXIMUM on
the
: browser. I know using databases would do it, but I would love to find a
: simpler solution.
You can use FSO to write it to and read from a file on the server. This
doesn't use cookies, sessions or db storage. One would assume you do not
want text file storage either but eventually you will be out of options.
You will have to make sure you have CHANGE rights in the directory you're
storing the file and outside the web root is preferred.
HTH...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
"Chris Hohmann" <no****@thankyou.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
: "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
: news:u4**************@TK2MSFTNGP11.phx.gbl...
: > At some point though, you still need to send something to the client
: (and
: > have the client return it), so that the server can maintain session
: state.
: >
: > In which case, you might as well use hidden form fields, or cookies,
: or one
: > of the other things mentioned.
:
: The OP indicated that he did not want to use hidden form fields,
: cookies, sessions or DB. The scenario I proposed uses none of these. The
: GUID associated with the state is passed via the form's action
: attribute. I am not endorsing this methodology, I am simply offering up
: a solution that meets the OP's requirements.
So, you're passing it in the querystring. You could, I suppose, just pass
everything in the querystring - which was mentioned earlier.
Cheers
Ken
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:uP**************@tk2msftngp13.phx.gbl... "Chris Hohmann" <no****@thankyou.com> wrote in message news:e1**************@tk2msftngp13.phx.gbl... : "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message : news:u4**************@TK2MSFTNGP11.phx.gbl... : > At some point though, you still need to send something to the
client : (and : > have the client return it), so that the server can maintain
session : state. : > : > In which case, you might as well use hidden form fields, or
cookies, : or one : > of the other things mentioned. : : The OP indicated that he did not want to use hidden form fields, : cookies, sessions or DB. The scenario I proposed uses none of these.
The : GUID associated with the state is passed via the form's action : attribute. I am not endorsing this methodology, I am simply offering
up : a solution that meets the OP's requirements.
So, you're passing it in the querystring. You could, I suppose, just
pass everything in the querystring - which was mentioned earlier.
There are limits to how much data can be passed via the querystring.
-Chris Hohmann This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ralph Freshour |
last post by:
I was reading about PHP variable scoping - it doesn't seem to support
carrying any variables from one web page to another - how is this
usually done? I have a lot of php variables created on my...
|
by: Daniel Ruscoe |
last post by:
Hi chaps,
I'm relatively new to the language, but I want to create a simple order
form using PHP and cookies. Please let me know if there's a better way
in this situation, database isn't...
|
by: Dave Martin |
last post by:
I've successfully used CURL to maneuver around and through sites
but a new site I've been trying to work with has got me stumped.
To retrieve the data I'm trying to get a login is required. If...
|
by: Terabyte |
last post by:
I have a client that wants me to create a form that will contain about 50
condo listings. He wants me to place a restriction on the form as to the
number of Condo listings a user can...
|
by: mosscliffe |
last post by:
I am struggling to find a python example of the scenario - I have.
I have a python script, which generates a page with a search button
(actually an input field).
The data from the above...
|
by: Chuck Anderson |
last post by:
I've instituted a sessions based scheme on my web site to combat hot
linking to my images. When someone requests a page at my site, I set a
session variable. I then use htaccess to redirect *all*...
|
by: Kurrent |
last post by:
I have some data from text fields that are being passed over through a
form that I am displaying with the $_POST superglobal. Once i have
echo'd out this data onto the next page, i'd like to...
|
by: Sylvie |
last post by:
When redirecting a page,
For example
CASE 1;
Response.Redirect("Page.aspx?Paramval=123");
in Page.aspx
|
by: Fester Bestertester |
last post by:
Greetings,
I'm an occasional php/mysql dabbler.
I have a basic data form with a submit button. Unfortunately, it's still
possible for the user to enter data changes and close the window,...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |