Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Posting values in between pages without user input (http://www.velocityreviews.com/forums/t800399-posting-values-in-between-pages-without-user-input.html)

Avlan 01-11-2006 06:01 PM

Posting values in between pages without user input
 
Still new with asp, and I feel I haven't yet captured the logic of it
completely ;-P

I know how to post values to another asp-page through the use of a form
and a submit-button, combined with the post or get-method. What I don't
know is how to post those values one asp-page further through code, so
without anyone having to press any button.

The idea is that I have a login-page where the user enters credentials.
These credentials are then passed on to a second asp-page.

This second pages actually checks the credentials with values in a
database. If not valid, the user will be redirected to another
login-page with the warning the credentials were faulty. However, when
valid, I want the user to be redirected to another page, but I want
those credentials available on that page too.

The thing I do not graps yet is how to use values/variables throughout
a site, some sort of universal parameter that can be called from any
asp-page within the site. Is something like that possible within asp or
do I have to think towards a different kind of solution? ;-)

Thanks in advance!!


Patrice 01-11-2006 06:40 PM

Re: Posting values in between pages without user input
 
Don't post ? You could use a session variable to keep track of this server
side ? See the Session object in the ASP documentation....

--
Patrice

"Avlan" <basvanelk@gmail.com> a écrit dans le message de
news:1137000899.170128.301590@o13g2000cwo.googlegr oups.com...
> Still new with asp, and I feel I haven't yet captured the logic of it
> completely ;-P
>
> I know how to post values to another asp-page through the use of a form
> and a submit-button, combined with the post or get-method. What I don't
> know is how to post those values one asp-page further through code, so
> without anyone having to press any button.
>
> The idea is that I have a login-page where the user enters credentials.
> These credentials are then passed on to a second asp-page.
>
> This second pages actually checks the credentials with values in a
> database. If not valid, the user will be redirected to another
> login-page with the warning the credentials were faulty. However, when
> valid, I want the user to be redirected to another page, but I want
> those credentials available on that page too.
>
> The thing I do not graps yet is how to use values/variables throughout
> a site, some sort of universal parameter that can be called from any
> asp-page within the site. Is something like that possible within asp or
> do I have to think towards a different kind of solution? ;-)
>
> Thanks in advance!!
>




Avlan 01-11-2006 08:15 PM

Re: Posting values in between pages without user input
 
Hm session variables, that was it. Did I mention I'm still a newb at
ASP-coding? ;-)

Thx


paul@bullschmidt.com 01-16-2006 08:53 PM

Re: Posting values in between pages without user input
 
> Did I mention I'm still a newb at ASP-coding? ;-)

www.asp101.com/samples has some short database examples you might want
to check out.

Best regards,
-Paul
www.Bullschmidt.com - Freelance Web and Database Developer
www.Bullschmidt.com/DevTip.asp - ASP Design Tips



All times are GMT. The time now is 07:23 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57