Forums
This topic is locked
Session Variable cannot be accessed
Posted 31 Jul 2002 11:09:39
1
has voted
31 Jul 2002 11:09:39 Vince Baker posted:
I have created a login page on the root directory of my site that creates a session variable (the users username) that I need to use to filter each page for security.If I test it with a page calling the new session variable on the root it works.
If I create a folder and then create a test page in this it cannot see the session variable.
ANy ideas?
Edited by - bakerv on 31 Jul 2002 11:10:21
Replies
Replied 31 Jul 2002 16:26:23
31 Jul 2002 16:26:23 Dave Thomas replied:
The session variable should be accessible from the Data Bindings panel no matter what folder you are in.
Is this the standard (MM function) that you are using?
"Get the kettle on, time for a brew"
Is this the standard (MM function) that you are using?
"Get the kettle on, time for a brew"
Replied 31 Jul 2002 18:47:38
31 Jul 2002 18:47:38 aegis kleais replied:
If you're using the DW Login Behavior, Macromedia will create a Session variable called MM_Username upon successful login. Once a user logins, this session variable exists during the user's ENTIRE visit no matter where they go. It only expires when it has been inactive for X amount of time (default of 20 minutes)
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])