Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Security of a web page...
Message
De
25/04/2000 08:07:35
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Internet
Catégorie:
VBScript
Divers
Thread ID:
00360000
Message ID:
00363065
Vues:
20
>Correction
>
>Working on an organizational web site. Certain pages that require login, which I include this line at the top of the page
>
>#INCLUDE file="security.asp"
>
>the ‘security.asp’ page checks to see if the CusKey (customer account) session variable is set or not. If not displays the login screen or it continues on with the original page.
>
>It works great unless you pass a parameter the page like: events.asp?staff=1
>Events.asp has the #INCLUDE file="security.asp"
>
>At that point the request.querystring does not see the ?staff=1
>
>session("staffkey")=request.querystring("staff")
>
>How can I capture the parameter ?staff=1

I've done this type of thing before and not had any problems.

Maybe your Security.Asp redirects to another .ASP page (Login.Asp), which then send the user back to Events.Asp if login proceeds OK? If so, you will loose the parameter during these redirections. I suggests that you save the parameter(s) to session variables, then pick it up again when returning from the Login screen.

Regards
Mark
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform