Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables in static pages
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00246171
Message ID:
00246234
Views:
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

Post your logon form to an .asp page. Then, in server side script, simply set the session variable to the form variable that holds the users name. Example:

Session("User_Name") = Request.Form("User_Name")
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).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform