sgadson
Posts: 45
|
| Posted: 10/03/2005, 8:35 AM |
|
In the CodeCharge Studio help documentation under Implementing Security there is a paragraph that states the following:
"By default, session variables are created for the User ID Variable and Group ID Variable only. However, if you want to make use of the other session variables, you can enter names for the User Login Variable and User Password Variable so they are created too. The names specified should not have any special characters or spaces in them. You also have the option of having a cookie created containing the user information by specifying a name for the Cookie Variable. "
How do I use the option for cookies? I only see the options for setting up the session variables UserID, UserLogin, and GroupID under the Advance setting button. I was unable to located anything for setting up cookies.
(VB.NET)
_________________
Shawn |
 |
 |
peterr
Posts: 5971
|
| Posted: 10/03/2005, 2:55 PM |
|
Cookies are not used in CCS therefore there is no need for such an option.
Of course you can use custom code to create cookies and in that case you'll have full control of their naming and behavior.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
sgadson
Posts: 45
|
| Posted: 10/29/2005, 9:46 PM |
|
Is there sample code available using .Net (VB) that demonstrates how to Use Cookies for Persistent Sessions?
I found an article on the Gotocode site, however it shows how to do it using ASP.
Here is what I need:
I have one intranet site that uses multiple code charge projects. Each project loads in its own directory. Once a user logs in on the base directory level I would like them to be recognized as logged in when they switch directories.
What is the best way to accomplish this? Is there another way other then using cookies?
_________________
Shawn |
 |
 |
|