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:
00246252
Vues:
15
>>>>>>>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.

Agreed, assumming his users have accept cookies turned on. I still here of people who don't. Need to get them into the 20th centruy. I've given up on the 21st. :)


Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform