Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variables in static pages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00246171
Message ID:
00246245
Vues:
17
>>>>>>Is there any way to create global variables on a client side? I am using FP 2000.
>>>>>>Thanks Mark
>>>>>
>>>>>There are many ways, especially if you're using JavaScript or VBscript. You can even set up a hidden text field and store information there. What are you trying to do?
>>>>>
>>>>>Dan
>>>>A use is logging in thru logon screen. I need to supply every page he hits with his user's name.
>>>>Thanks Mark
>>>
>>>You probably want to use an ASP session variable or a cookie.
>>
>>Can you tell me how <g>
>>Mark
>
>If you site is going to be busy, I would stay away from session variable, if I could. They slow things down a lot. You could use the hidden, once you have validated they are who they say with a login. That means you have to have the hidden checked for on every page and passed to every page. Using a cookie has its problems too. Users delete them--If someone else has access to that computer they can get in also. If you check www.truegeeks.com under the open source document. Go in as guest look at vbscript examples for how to do a cookie.
>
>
>HTH
>Jeff

Hi Jeff,

A temporary cookie(one that is destroyed when the browser is shut down) should work just fine for what he wants to do.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform