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

Dreamweaver 8.0.2 and Recordsets

New Here ,
May 18, 2006 May 18, 2006
When I create a recordset with the 8.0.2 dreamweaver update it is not updateable. I can no longer just set some values and call recordset.update....

I use to be able to set the locktype. How do I do that now?
TOPICS
Server side applications
350
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
LEGEND ,
May 18, 2006 May 18, 2006
You can't. It's no longer supported. You'll have to hand-code it.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




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 18, 2006 May 18, 2006
Yuck! This will break 1000's if not 1,000,000's of web pages. Nice.
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
LEGEND ,
May 18, 2006 May 18, 2006
It is a bizarre change. But, there we go.

The specific reason is down to SQL Injection. Say one had a recordset
connected to SQL Server with SQL of

select * from MyTable where ID=MM_Param

and then a runtime parameter value of Request.Querystring("ID"). In theory,
the database could then be compromised. The simple solution is to use
Cint(Request.Querystring("ID")), but the powers to be decided to change the
recordset code instead.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




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 19, 2006 May 19, 2006
You also can no longer pass a field and direction for sorting through the querystring. Any work arounds?
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
LEGEND ,
May 19, 2006 May 19, 2006
Hogwash... of course you can still... you just have to customize the code. I
did the same thing before 8.0.2 and it still works now after.

You should brush up on your coding and you too could do that.

"netboy" <webforumsuser@macromedia.com> wrote in message
news:e4l6t9$1d1$1@forums.macromedia.com...
> You also can no longer pass a field and direction for sorting through the
> querystring. Any work arounds?


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
LEGEND ,
May 19, 2006 May 19, 2006
LATEST
And you can still do it in the new dialog for setting up a Recordset in
8.0.2.

No need of workarounds or special programming. I usually role my own code so
I'm so used to do that. But it's good to see the DW does support it.

"DownWithBugs" <Bugs@TMM.com> wrote in message
news:e4l78s$1sk$1@forums.macromedia.com...
> Hogwash... of course you can still... you just have to customize the code.
> I did the same thing before 8.0.2 and it still works now after.
>
> You should brush up on your coding and you too could do that.
>
> "netboy" <webforumsuser@macromedia.com> wrote in message
> news:e4l6t9$1d1$1@forums.macromedia.com...
>> You also can no longer pass a field and direction for sorting through the
>> querystring. Any work arounds?
>
>


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