Forum Moderators: open

Message Too Old, No Replies

Passing token from page to page.

How to engineer alternate oaths through a site

         

GrayHog

11:51 am on Sep 21, 2001 (gmt 0)



Is it possible to pass a token or flag from one page to another?

I am developing a banking Customer Service Representative (CSR) app in which different levels of CSRs have different pages at times. Rather than making up 3 completely different sets, If I knew what my current level was then I could select which next page to display when the CSR pressed a button?

joshie76

1:22 pm on Sep 21, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are two main ways to pass information from one page to another: Querystrings and form posts.

A querystring is an extension to the URI:
somewhere.com/index.htm?name=value&name2=value2

Or using forms to post the information in the request header.

There are tons of resources out there on the net to help on these two subjects that go into much more detail than I could here.

This particular one is for ASP server-side processing
[btinternet.com...]

Another way, assuming you have some server-side scripting power (i.e. asp/jsp/php) is to use session variables to maintain state across pages.

ggrot

4:12 pm on Sep 21, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could use cookies too. This is especially good when your flag/token is an identifier of the user.

GrayHog

4:27 pm on Sep 21, 2001 (gmt 0)



Thanks, gg. I had thought about cookies and I will probably use them now, though I was hoping for something simpler.