Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

session variable

New Here ,
May 07, 2007 May 07, 2007
I want to use the contents of a database field as a session, anyone know the best way to do this. We are using ASP, Access 2000

Thanks in advance
TOPICS
Server side applications
276
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 07, 2007 May 07, 2007
All you need to do to write a recordset value to a session variable is a
code line like this

<%
session("svName") = recordset.fields.item("fieldname").value
%>


--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"ifrsgroup" <webforumsuser@macromedia.com> wrote in message
news:f1oeho$mt5$1@forums.macromedia.com...
>I want to use the contents of a database field as a session, anyone know
>the best way t...
Translate
LEGEND ,
May 07, 2007 May 07, 2007
All you need to do to write a recordset value to a session variable is a
code line like this

<%
session("svName") = recordset.fields.item("fieldname").value
%>


--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"ifrsgroup" <webforumsuser@macromedia.com> wrote in message
news:f1oeho$mt5$1@forums.macromedia.com...
>I want to use the contents of a database field as a session, anyone know
>the best way to do this. We are using ASP, Access 2000
>
> Thanks in advance


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 09, 2007 May 09, 2007
LATEST
Thanks Paul, I appreciate the help
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines