Book Summary and Reviews of Before Dorothy by Hazel Gaynor

Before Dorothy by Hazel Gaynor

Before Dorothy

by Hazel Gaynor

  • Critics' Consensus (5):
  • Readers' Rating (8):
  • Published:
  • Jun 2025, 368 pages
  • Rate this book

About this book

Book Summary

Long before Dorothy visits Oz, her aunt, Emily Gale, sets off on her own grand adventure, leaving gritty Chicago behind for Kansas and a life that will utterly change her, in this transporting novel from New York Times bestselling author Hazel Gaynor.

Chicago, 1924: Emily and her new husband, Henry, yearn to leave the bustle of Chicago for the promise of their own American dream among the harsh beauty of the prairie. But leaving the city means leaving Emily's beloved sister, Annie, who was once closer to her than anyone in the world.

Kansas, 1932: Emily and Henry have established their new home among the warmth of the farming community in Kansas. Aligned to the fickle fortunes of nature, their lives hold a precarious and hopeful purpose, until tragedy strikes and their orphaned niece, Dorothy, lands on their doorstep.

The wide-eyed child isn't the only thing to disrupt Emily's world. Drought and devastating dust storms threaten to destroy everything, and her much-loved home becomes a place of uncertainty and danger. When the past catches up with the present and old secrets are exposed, Emily fears she will lose the most cherished thing of all: Dorothy.

Bursting with courage and heart, Before Dorothy tells the story of the woman who raised a beloved heroine, and ponders the question: what is the true meaning of home?

Please be aware that this discussion guide will contain spoilers!
  1. Before Dorothy imagines the character of Emily Gale as a young woman embarking on a new life on the Kansas prairies. How did you respond to her, and what surprised you the most about the challenges she and Henry face as they establish their new life in Kansas?
  2. Emily's mother keeps the pamphlet about Kansas with a dream of going there one day, and Emily shares her almost instinctive sense of destiny to move there. Why do you suppose this is? Where do you most long to visit, or move to? Is there a place your north star pulls you toward?
  3. Adelaide Watson arrives as a fairy godmother character in Emily's and Dorothy's lives, renewing their sense of hope and purpose when they feel lost. What were your thoughts on Adelaide and her impact on the...
Please be aware that this discussion may contain spoilers!

See what our members are saying about this book in our Community Forum.

What are your thoughts on the homesteading life we see among women of Kansas? Do you follow any of these traditional ways of living (making or repairing clothes, canning), or are there any aspects of that life you would like to adopt? If not, why?
I love the "idea" of homesteading! Unfortunately, I'm not always the best in actually reflecting that life, but it's what I aspire to. I've done some canning, grown some veggies, practice some herbology and aromatherapy and natural remedies, but I have a respect for those who go all in and live o...
-Heather_J


Nell and Emily ended up living in rural communities while Annie was determined to stay in the city. Why do you suppose the girls developed such different desires as they grew older? Do you consider yourself a country girl or a city girl
I think Emily was of more "substance". She longed for freedom and open spaces, a fulfilling life of productivity. Annie sought restraint and a life of comfort, and the security of the city and being surrounded with "life" and people rushing about. I'm with Emily. Give me freedom and open spaces a...
-Heather_J


Emily’s mother keeps the pamphlet about Kansas with a dream of going there one day, and Emily shares her sense of destiny to move there. Why do you suppose this is? Where do you most long to visit, or move to? Is there a place you're pulled toward?
Will do! Thanks for the suggestion :clinking_glasses:
-Joyce_Montague


What was your response to Emily and Henry’s decision to leave Kansas? In their place, would you have left sooner, later, or not at all? What would you like to see happen to Dorothy, Emily, and Henry next?
Yikes, I like to think I would have stayed as long as Em and Henry did, but I am a realistic person. I would have left much earlier than they did! I was surprised that they left, but happy that they did because I think it gave them the best chance for a safe and happy life for themselves and Doro...
-Dee_Driscole


Adelaide Watson arrives as a fairy godmother in Emily’s and Dorothy’s lives, renewing their sense of hope and purpose. What were your thoughts on Adelaide and her impact on the other characters’ lives? Do you have a similar person in your own life?
Adelaide was a complete surprise for me. I was not expecting a woman with a plane to enter this story! The reference to a godmother is perfect. Adelaide gave joy, comfort and support to all she met. She even supplied the dinner for the first night!
-Dee_Driscole


Annie and Emily’s close relationship deteriorates throughout the book as they are pulled in different directions. How did you respond to the breakdown of their connection? Why do you think Annie still chose Emily as Dorothy’s guardian?
I found Annie to be immature, as if she was big doll. She wanted the security and wealth of a rich man while enjoying the thrill and adventure of her lover. She often made snarky comments to her sister and pushed for things to be her way. I wasn't sure she would ever agree that Em should leave he...
-Dee_Driscole


In writing Before Dorothy, the author enjoyed weaving in a number of “Easter eggs” as references to The Wizard of Oz. Which did you spot?
I think I found most/all. I enjoyed spotting them as they appeared, made me want to read the original Wizard of Oz. I'd also be interested in comparing the book to the movie version.
-Laurie_M


Before Dorothy is set during the Depression and Dust Bowl. Why do you think the author chose that period, and in what ways do you think the economic and ecological events of that time reflect the references to power that we see in The Wizard of Oz?
I agree. I think setting was perfect for the author's purpose!
-Laurie_M


Overall, what did you think of Before Dorothy, and to what audience would you recommend it? (no spoilers, please!)
I loved Before Dorothy . It was creative and fun to read. Author, Hazel Gaynor, does a nice job with researching for her novels. I felt the Depression and Dust Bowl settings fit the story well. I would definitely recommend this novel to fans of The Wizard of Oz and those who enjoy historical fict...
-Laurie_M


In what ways do you feel Emily’s community supported her? What might her life have been like if she hadn’t been welcomed by Liberal’s women? Do you have a community that supports you?
Friends are important to everyone. Emily would have lived a lonelier life without the other women in Liberal. They all had problems and sharing problems with friends makes you better able to deal with the problems.
-Susan_Roberts


What are you reading this week? (7/2/2025)
I just finished Before Dorothy by Hazel Gaynor, which was a fun read about how Dorothy got to Kansas and her Auntie Em and Uncle Henry. Then I read Don't open your eyes by Liv Constantine - twisty...
-Shirley_Fentz


Dorothy tells her Auntie Em that she didn’t think Mr. Stregone was a magic man at all. Em replies, “I think the idea of magic is sometimes more important than the magic itself” (p. 324). What do you think of her response? Do you think she’s right?
I love this quote. I do think we need things to believe in, for many that is a religion. Whenever I take a walk in nature, i feel a sense of peace. That may be magic, spirituality or just the power of nature. But we need to believe. Often, I have experienced what I would consider a kindness or bl...
-Dee_Driscole


What are your favorite lines or quotes from the book? Share them with your reading group and discuss why they especially resonate with you
Home. I now know, isn't a place at all. Mountains or ocean, city or prairie - that's just landscape, the view from the window when you wake. The most desolate place imaginable can feel safer than the prettiest place on earth, as long as those you love are with you. Finally, I found the answer. My...
-Susan_Roberts


Annie asks Emily why she hadn’t told Henry about her miscarriage. Emily responds that she “didn’t want to bring such sadness to our new start.” Annie concurs: “Sometimes ignorance is kinder than the truth.” What did you think of this exchange?
I thought that she should have told him. He cared enough about her that knowing about the miscarriage would have made them even closer.
-Susan_Roberts


Emily eventually publishes her journal entries into a book, parts of which are included between chapters of Before Dorothy. What did you think of their inclusion? What did they add to your understanding of Emily and her life? Do you keep a journal?
I really liked those journals. They provided Emily's inner thoughts. It made me feel even closer to her character. While that is a great way for the author to bring an additional warmth and rounding out Emily's character in reality few people share their most truthful inner thoughts in diaries an...
-Lauri_Z


How did you react to Leonardo Stregone, and in what ways did you see parallels between him and the wizard in the original Wizard of Oz book and movie? What are your thoughts on the rainmakers who traveled across the Great Plains during the Dust Bowl?
I thought he was a carpet bagger and scheming liar. But I wanted him to be able to actually bring rain. And I absolutely saw the connection with the Wizard of Oz. I understand that many people were so desperate during those times of drought, and given the lack of more complex technology that is n...
-Lauri_Z


The roles of women as sisters, friends, daughters, wives, aunts, and mothers is explored throughout the book. What was your emotional response to the relationship between Emily and Dorothy? Which other relationships particularly resonated with you?
I loved watching the blossoming of the relationship between Auntie Em and Dorothy. While I haven't experienced an identical situation it reminds me of the times I let down my walls and opened my heart to some friends. I truly believe that this is how I got my best friend and confidante. I also lo...
-Lauri_Z


What is your own connection or response to the natural world? What more could you do to change how you interact with and respond to nature?
I totally agree that I find peace and can recharge when walking on wooded trails in our beautiful park system in DC. When I close my eyes and imagine my walking there my breath slows. It blows me away when people deny climate change. I see it all around me. I live in the city and one thing that i...
-Lauri_Z


What are you reading this week? (6/19/025)
I'm reading Fulfillment by Lee Cole but having a hard time getting into it. Just finished Before Dorothy by Hazel Gaynor - loved it. And The English Masterpiece by Katherine Reay - interesting mystery.
-Shirley_Fentz


Nature and our connection with the natural world play a central role in the book. Which scenes and events captured the sense of the prairie the most vividly for you?
Dee, thank you so much for your response. I feel more knowledgeable because of your detailed explanation!
-Joyce_Montague


Adelaide tells Emily that fear is a temporary thing. “Face it, and it doesn’t exist anymore. Turn away from it and it’ll haunt you forever.” (p.215). What do you think she means? Do you agree?
I think it's situational and doesn't work in every situation. I used to be afraid of performing in front of people - I'd get terrible stage fright - and although I forced myself to do it, it never got any better. Plus, sometimes it's good to be afraid of things - fear is instinctive and there's a...
-kim.kovacs


Before Dorothy imagines Emily Gale as a young woman embarking on a new life on the Kansas prairies. How did you respond to her, and what surprised you the most about the challenges she and Henry face as they establish their new life in Kansas?
I thought she was a very brave woman. She put her faith in the man she loved and did everything she could to make their new life a successful one.
-Terrie_J


What are you reading this week? (5/29/2025)
Digging into Before Dorothy by Hazel Gaynor. Really enjoying it!
-Carla_D


What are you reading this week? (5/1/2025)
...good books the past few weeks that I would like to share. I am currently reading THE GUEST COTTAGE by Lori Foster - it's very uplifting. Other books: BEFORE DOROTHY by Hazel Gaynor - loved it - it is about Auntie Em before Dorothy arrived and when she arrived - Excellently done - totally enjoyable. THE FAMINE ORPHANS by Patricia...
-Elizabeth


Before Dorothy by Hazel Gaynor Discussion
Please join BookBrowse in our book club discussion of Before Dorothy by Hazel Gaynor
-system

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

Reviews

Media Reviews

"Detailed descriptions capture each of the senses as this novel explores the cost of going after our dreams and what it means to truly be a family. Rife with allusions to the original source material, this is an engaging backstory with depth that will give book clubs much to discuss." —Booklist

"Gaynor's writing incorporates elegant touches echoing Baum's timeless characters, symbols, and themes. Readers will be touched by Em's story and respect the strong woman who raised such an unforgettable literary heroine." —Library Journal

"In Technicolor prose, Hazel Gaynor gives new meaning to the familiar phrase 'there's no place like home' in this stunning novel that imagines the real lives of Auntie Em, Uncle Henry, Dorothy, and Toto in the dust bowl of the Depression. Readers will love collecting Easter eggs from the 1939 movie scattered throughout this moving story about family secrets and the enduring power of love. Ingeniously done." —Kerri Maher, USA Today bestselling author of All You Have To Do Is Call

"Like Dorothy stepping into Oz, Hazel Gaynor's new novel pulls Auntie Em out of a black and white background and into a full-color world all her own." —Sarah Miller, USA Today bestselling author of Marmee and Caroline: Little House, Revisited

This information about Before Dorothy was first featured in "The BookBrowse Review" - BookBrowse's membership magazine, and in our weekly "Publishing This Week" newsletter. Publication information is for the USA, and (unless stated otherwise) represents the first print edition. The reviews are necessarily limited to those that were available to us ahead of publication. If you are the publisher or author and feel that they do not properly reflect the range of media opinion now available, send us a message with the mainstream reviews that you would like to see added.

Any "Author Information" displayed below reflects the author's biography at the time this particular book was published.

Reader Reviews

Write your own reviewwrite your own review

Emily (Emmie Mere)

Loved this take an Auntie Em!
I grew up completely obsessed with The Wizard of Oz but truly never wondered what Auntie Em was like before we knew her, so I love that author Hazel Gaynor thought of it for us!

Before Dorothy explores Emily Kelley before and after she becomes Emily Gale, including how Dorothy comes to live with her and Uncle Henry. With dual timelines of 1924 Chicago and Kansas a decade later, we learn so much about Emily as a young woman, a new wife, and an aunt who becomes caregiver.

I just adored Emily and was fascinated at the thought of her as a youthful, modern, city woman who more than willingly gives it up to become a prairie wife, while staying true to herself. Her assimilation into her new community wasn’t necessarily and easy one, and thought the Kansas characters were great additions. I especially warmed to the character of Adelaide, a female pilot who smashes societal expectations and gives energy to the women in Kansas.

Spread throughout the book are not-so-subtle references to The Wizard of Oz (Dorothy’s lion stuffed animal), as well as those done on the sly (is Adelaide Glinda the Good Witch?) I thought all those pieces were done well.

The theme of roles women play in each other’s lives was present throughout the book. We saw that prominently in Emily’s Kansas community but I wish we had more of Emily and her two sisters, one of whom has already left for a new life when the book begins. I was so intrigued by their relationships and definitely wanted more.

The author did a nice job of weaving in the very difficult life of homesteading, and the very real consequences of the Dust Bowl, a time in U.S. history when severe dust storms all but destroyed middle America. I honestly don’t know great details about this time, but the author’s narrative transported me right there. Through her writing, Gaynor honors the land shows respect for the people who tend to it.

Completely unexpected was the author’s decision to make Emily, her sisters and parents Irish immigrants. It made sense, though, as another theme was the idea around what makes a place home, finding home (there’s no place like home!).

All in all, I really enjoyed Before Dorothy. Definitely recommend!

I received an advance review copy from BookBrowse for free, and I am leaving this review voluntarily. All opinions are my own.

jillg

There’s no place like home.
BEFORE DOROTHY
by Hazel Gaynor

I loved Hazel Gaynor’s 2023 release, The Last Lifeboat, so I wanted to read this historical fiction read by her. From only seeing Auntie Em in the movie, The Wizard of Oz, as an older woman, it was nice to see her transformed to Emily Gale — a vibrant young woman who journeyed from Chicago to the Kansas prairie. We see her as a newlywed ready to move where Henry wanted to farm — the Great Plains. Emily had a special bond to her sister, Annie, which became strained by distance, secrets, and the paths that each chose. When tragedy strikes and Dorothy lands on Emily and Henry’s doorstep, Emily struggles with her own limitations. The landscape of the prairie lifestyle that Gaynor portrays is with a deep sense of realism. You can taste and feel the dust and grit. I think she captured the stark beauty of the prairie along with the relentless hardships of life in the Great Plains. The bond with Dorothy shifts from distant, to duty, to something more richer with the shared grief, and quite understanding they form. Gaynor’s blending of historical fiction with literary reimagining of this classic (The Wizard of Oz) worked for me. I enjoyed all the “Easter Eggs” throughout as a nod to The Wizard of Oz.

This is a story of identity, family, the resilience of women, bonds between sisters, mothers, and daughters, and the quiet courage it takes to carry on when everything seems lost.

Thank you to BookBrowse for the book to read.

Michelle_H

Cliched and Sentimental Writing
I enjoy reading stories re-told from marginalized characters’ points of view (James, Fagin, Longbourne, etc) so I was looking forward to reading a prequel to Oz told from Auntie Em’s point of view. But I was sorely disappointed. There are very few surprises in this sentimental description of life on the Kansas prairie during the Great Depression, unless you’ve never heard of this era of American history before.

Any character “secrets” are revealed long in advance, and everything that happens feels quite predictable -- bright promising young Emily is worn down and hardened by prairie life during the Dust Bowl. The writing is cliched, full of too many adjectives (plus endless ruby-red and emerald-green objects!), and far too many heavy-handed metaphors (“a cyclone of emotion,” etc). Lots of one word sentences: “Dust. Dirt. Life. Death.”

The dialogue often seems pulled from a corny 1940s B-movie. And foreshadowing every detail of the Wizard of Oz by tying it to something in reality (Dorothy has a toy lion, tin man and scarecrow, a little hourglass, there is an aerial circus balloonist turned fraudulent rainmaker, etc) – was actually irritating to me, as it flattened the magic and strangeness of L. Frank Baum’s highly imaginative, inventive world, making it all “explainable.” (In the book the magic of Dorothy’s adventure in Oz is simply true, and not explained away as a ‘just a dream’).

I did like the addition of female aviator (who later “becomes” the good witch), and it was also somewhat interesting to read about what happened after the big tornado. (Note that two-thirds of the story happens AFTER Dorothy enters Emily’s life, though). I felt obliged to read my free advance copy, but otherwise, I honestly don’t think I would have finished this book.

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

Author Information

Hazel Gaynor

Hazel Gaynor is an award-winning, New York Times, USA Today, Irish Times, and internationally bestselling author known for her deeply moving historical novels which explore the defining events of the 20th century. Her most recent novel, The Last Lifeboat, was a Times historical novel of the month, an Audie award winner, and was short-listed for the Irish Book Awards. Her work is published in twenty-seven territories to date. She lives in Ireland with her family.

More Author Information

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

Read-Alikes

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

BookBrowse Book Club

Book Jacket
The Cover Girl
by Amy Rossi
Find them early enough, and they will always be her girls.

Members Recommend

  • Book Jacket
    The Sister's Curse
    by Nicola Solvinic
  • Book Jacket
    The Lost Story of Eva Fuentes
    by Chanel Cleeton
    A mysterious book links three women across generations in this novel by New York Times bestselling author Chanel Cleeton.
  • Book Jacket
    The Vanishing Place
    by Zoë Rankin
Who Said...

These are not books, lumps of lifeless paper, but minds alive on the shelves

Click Here to find out who said this, as well as discovering other famous literary quotes!

Book
Trivia
  • Book Trivia

    Can you name the title?

    Test your book knowledge with our daily trivia challenge!

Wordplay

Solve this clue:

W the C A the M W P

and be entered to win..

Your guide toexceptional          books

BookBrowse seeks out and recommends the best in contemporary fiction and nonfiction—books that not only engage and entertain but also deepen our understanding of ourselves and the world around us.

 


Debugging Information
ColdFusion Server Developer 2021,0,13,330286
Template /bb_briefs/detail/index.cfm
Time Stamp 31-May-26 07:50 PM
Locale en
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Remote IP 127.0.0.1
Host Name 127.0.0.1


Execution Time

Total Time Avg Time Count Template
1780257035705 ms 1.78025703571E+012 ms 1 /root/website/app_server.cfm
1275 ms 1275 ms 1 /root/website/bb_briefs/detail/index.cfm
385 ms 385 ms 1 /root/website/bb_briefs/detail/dsp_main.cfm
380 ms 380 ms 1 /root/website/app_layout.cfm
298 ms 75 ms 4 /root/website/adsystem/adsystem_mod.cfm
234 ms 234 ms 1 /root/website/queries/qry_get_discussion_by_id.cfm
200 ms 200 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
144 ms 144 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
138 ms 138 ms 1 /root/website/adzones/showcase_track.cfm
121 ms 121 ms 1 /root/website/app_globals.cfm
106 ms 27 ms 4 /root/website/site/blocks/membership_advantages.cfm
104 ms 26 ms 4 /root/website/queries/qry_get_member_account_types.cfm
78 ms 78 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
77 ms 77 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
73 ms 73 ms 1 /root/website/adzones/AdZone6.cfm
52 ms 52 ms 1 /root/website/adzones/AdZone11.cfm
52 ms 52 ms 1 /root/website/queries/qry_get_books_by_briefs_category.cfm
47 ms 47 ms 1 /root/website/queries/qry_get_briefs_reader_rating.cfm
43 ms 43 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
38 ms 38 ms 1 /root/website/adzones/AdZone3.cfm
31 ms 31 ms 1 /root/website/queries/qry_get_active_obc.cfm
31 ms 31 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
31 ms 31 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
30 ms 30 ms 1 /root/website/queries/qry_get_free_newsletters.cfm
23 ms 23 ms 1 /root/website/actions/adstatus.cfm
22 ms 22 ms 1 /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm
21 ms 21 ms 1 /root/website/queries/qry_get_liked_by_brief_id.cfm
13 ms 13 ms 1 /root/website/queries/qry_get_current_competition.cfm
13 ms 13 ms 1 /root/website/queries/qry_get_obc_number.cfm
9 ms 9 ms 1 /root/website/queries/qry_get_author_bookcount.cfm
7 ms 7 ms 1 /root/website/act_check_login.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_member_info.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_preview_by_id.cfm
2 ms 0 ms 5 /root/website/actions/act_spider_tracker.cfm
2 ms 2 ms 1 /root/website/queries/qry_get_preview_awards_by_id.cfm
2 ms 2 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
1 ms 1 ms 1 /root/website/act_libraryIPLogin.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_current_ezine.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_previous_arcs_for_ad.cfm
1 ms 1 ms 1 /root/website/site/blocks/dsp_top_brief_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/main_menu.cfm
0 ms 0 ms 1 /root/website/Application.cfm
0 ms 0 ms 1 /root/website/actions/udfs.cfm
0 ms 0 ms 1 /root/website/banners/ad_594.cfm
0 ms 0 ms 1 /root/website/formurl2attributes.cfm
0 ms 0 ms 1 /root/website/js/fbjavascriptsdk.cfm
0 ms 0 ms 1 /root/website/site/blocks/act_book_view_tracking.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_border_booktalk.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_header_newsletter.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_wordplay.cfm
0 ms 0 ms 1 /root/website/site/blocks/email_modal.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/google_tags.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/head.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/header_announcement.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/main_search.cfm
3 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
1278 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=2ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 19:50:35.035
SELECT	a.bot_number
        FROM	bots a
        WHERE	charindex(a.bot_name, ?) > 0
		OR a.bot_ip = ?
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Parameter #2(cf_sql_varchar) = 127.0.0.1

get_member_info (Datasource=bookbrowse_com_new, Time=5ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 19:50:35.035
select 	a.*, 
    		b.member_account_type_name, b.member_account_type_charge, b.member_account_type_charge_frequency,  b.member_account_type_months, 
            c.member_chargetype_name, c.member_chargetype_number, a.member_classification_number, a.member_book_format
	
    from members a, member_account_types b, member_chargetype c
	
    where a.member_account_type_number = b.member_account_type_number
	and a.payment_method_id = c.member_chargetype_number
	and a.member_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 0

adactive (Datasource=bookbrowse_com_new, Time=22ms, Records=2) in /root/website/actions/adstatus.cfm @ 19:50:35.035
SELECT	viewby, section
    FROM	adsystem 
    WHERE	active  = 1 
    AND		start_date <= GETDATE()
    AND 	(viewby = ? OR viewby = 'all')
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = non

get_current_ezine (Datasource=bookbrowse_com_new, Time=0ms, Records=1, Cached Query) in /root/website/queries/qry_get_current_ezine.cfm @ 19:50:35.035
select		top 1 ezine_number, ezine_dt, ezine_image, ezine_brief_description, ezine_introduction
from		ezines
where		ezine_active_flag = 1
and 		ezine_type_number = 4
and			ezine_dt < getdate()
order by 	ezine_dt DESC
get_current_wordplay (Datasource=bookbrowse_com_new, Time=13ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 19:50:35.035
SELECT		a.wordplay_number, a.wordplay_dt, a.wordplay_name, a.wordplay_intro_text, b.wordplay_puzzle_number, b.wordplay_puzzle_question
    FROM		wordplays a 
	INNER JOIN	wordplay_puzzle_mapping c on c.wordplay_number = a.wordplay_number
	INNER JOIN	wordplay_puzzles b on b.wordplay_puzzle_number = c.wordplay_puzzle_number
	WHERE		a.wordplay_number = (	select top 1 a.wordplay_number
                                from wordplays a, wordplay_puzzles b, wordplay_puzzle_mapping c
                                where a.wordplay_number = c.wordplay_number
                                and b.wordplay_puzzle_number = c.wordplay_puzzle_number
                                and a.wordplay_dt < getdate()
                                and a.wordplay_expiration_dt > dateadd(day, -1, getdate())
                                order by a.wordplay_dt asc
                                )
get_ComNo (Datasource=bookbrowse_com_new, Time=6ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 19:50:35.035
SELECT 	TOP 1 	x.competition_number, x.bb_briefs_flag
	from			competitions x
	
		WHERE	x.competition_dt <= getdate()
		AND		x.competition_expiration_dt > dateadd(d,-1,getdate())
get_current_competition (Datasource=bookbrowse_com_new, Time=1ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 19:50:35.035
SELECT 	x.competition_number, x.book_number, x.competition_teaser_title, x.competition_teaser_description, x.competition_intro_text, x.competition_expiration_dt, x.bb_briefs_flag, x.competition_full_info_flag, x.competition_type, x.competition_optin,x.competition_optin_text, 
				a.book_title as "title",
				(b.author_first_name + ' ' +  b.author_middle_initial + ' ' + b.author_last_name) as "author",
	            f.edition_publish_dt AS "hardcover_publish_dt", f.edition_jacket_image as "hardcover_jacket_image",
				g.edition_publish_dt AS "paperback_publish_dt", g.edition_jacket_image as "paperback_jacket_image"
	
		FROM 		competitions x
		INNER JOIN	books a on a.book_number = x.book_number
		INNER JOIN	book_author_mapping c on c.book_number = x.book_number
		INNER JOIN	authors b on c.author_number = b.author_number
		LEFT JOIN	editions f on a.book_number = f.book_number and f.edition_paperback_flag = 0
		LEFT JOIN	editions g on a.book_number = g.book_number and g.edition_paperback_flag = 1

		WHERE		x.competition_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 0

get_previous_arcs_for_ad (Datasource=bookbrowse_com_new, Time=0ms, Records=0, Cached Query) in /root/website/queries/qry_get_previous_arcs_for_ad.cfm @ 19:50:35.035
SELECT 	a.arc_number,a.arc_client_url,a.arc_active_dt, a.arc_off_ad_dt,
		b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publisher, 
		b.ezine_preview_publish_dt, b.ezine_preview_jacket_desc, b.ezine_preview_number_of_pages, b.ezine_preview_bb_comments, b.ezine_preview_isbn13,
		c.ezine_preview_category_name AS "ezine_preview_category",
		(select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) as "reviews",
		(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
				 ELSE 0
				 END)
 			from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating,
 			(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,1))) AS numeric(12,1)))from arc_allocator where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS "decrating"

FROM arcs a
INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
INNER JOIN ezine_preview_categories c ON b.ezine_preview_category_number = c.ezine_preview_category_number

WHERE arc_closed_flag = 1
AND arc_obc_flag = 0
AND getdate() >= arc_on_ad_dt
AND getdate() < arc_off_ad_dt

ORDER BY a.arc_on_ad_dt DESC
get_future_obc (Datasource=bookbrowse_com_new, Time=3ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 19:50:35.035
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text, arc_on_ad_dt,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages, ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	
	WHERE 		arc_obc_flag = 1

	AND 		getdate() < arc_on_ad_dt
	
		ORDER BY  	NEWID()
get_active_obc (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 19:50:35.035
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages,  ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link,
	            c.book_reading_guide
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	LEFT JOIN  	books c on c.book_number = b.ezine_preview_bb_link
	
	WHERE 		a.arc_obc_flag = 1
	AND			a.arc_active_flag = 0
	AND 		arc_closed_flag = 1
	AND 		getdate() >= arc_on_ad_dt
	AND 		getdate() < arc_off_ad_dt
	ORDER BY  	NEWID()
get_recent_obc (Datasource=bookbrowse_com_new, Time=16ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 19:50:35.035
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages,  ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link,
	            c.book_reading_guide
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	LEFT JOIN  	books c on c.book_number = b.ezine_preview_bb_link
	
	WHERE a.arc_number IN (select top 4 arc_number
							from		arcs
							WHERE 		arc_obc_flag = 1
							AND			arc_active_flag = 0
							AND 		arc_closed_flag = 1
							AND 		getdate() > arc_off_ad_dt
							ORDER BY	arc_on_ad_dt DESC)
	ORDER BY  	NEWID()
get_preview_by_id (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 19:50:35.035
select 			a.ezine_preview_number,
				a.ezine_number, 
				a.ezine_preview_category_number, 
				a.ezine_preview_title, 
				a.ezine_preview_subtitle, 
				a.ezine_preview_author, 
				a.ezine_preview_publisher,
				a.ezine_preview_publish_dt,
				a.ezine_preview_number_of_pages, 
				a.ezine_preview_jacket_image,
				a.ezine_preview_reviews,
				a.ezine_preview_short_summary,
				a.ezine_preview_jacket_desc,
				a.ezine_preview_reading_guide,
				a.ezine_preview_bb_comments, 
				a.ezine_preview_isbn,
				a.ezine_preview_isbn13,
				a.ezine_preview_rating,
				a.ezine_preview_bb_link,
                a.ezine_preview_bb_author_link,
                a.ezine_preview_firsts_flag,
                a.ezine_preview_reading_level,
                a.ezine_preview_paperback_flag,
				b.*,
                c.ezine_dt, c.ezine_description
,(select publisher_holding_company from publishers where ezine_preview_publisher like publisher_imprint AND publisher_holding_company LIKE 'Harper%') AS "publisher_holding_company"		
 				
from ezine_previews a 
inner join ezine_preview_categories b ON b.ezine_preview_category_number = a.ezine_preview_category_number
left join ezines c ON c.ezine_number = a.ezine_number

where ezine_preview_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922

get_preview_awards_by_id (Datasource=bookbrowse_com_new, Time=1ms, Records=0) in /root/website/queries/qry_get_preview_awards_by_id.cfm @ 19:50:35.035
select a.book_award_number, a.book_award_name, a.book_award_image, c.book_award_dt
    from book_awards a 
    inner join book_awards_category b on b.book_award_number = a.book_award_number
    inner join book_awards_mapping c on c.book_awards_category_number = b.book_awards_category_number
    where ezine_preview_number =  ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922

get_briefs_reader_rating (Datasource=bookbrowse_com_new, Time=46ms, Records=1) in /root/website/queries/qry_get_briefs_reader_rating.cfm @ 19:50:35.035
SELECT	(CAST(AVG(CAST(rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) >= 50 AND right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
			ELSE 0
			END) AS "avrating",
            count(rating) as "ratcount"
            
	FROM (
		SELECT reader_review_rating AS rating
		FROM reader_reviews
		WHERE ezine_preview_number = ?
		
		AND reader_review_rating > 0
		
		UNION ALL
		
		SELECT reading_list_book_rating AS rating
		FROM reading_lists
		WHERE book_number LIKE 'p%'
		AND TRY_CAST(SUBSTRING(book_number, 2, LEN(book_number)) AS INT) = ?
		AND reading_list_book_rating > 0
		AND TRY_CAST(SUBSTRING(book_number, 2, LEN(book_number)) AS INT) IS NOT NULL
	) combined_ratings
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922
Parameter #2(CF_SQL_INTEGER) = 21922

get_reader_reviews_by_preview_number (Datasource=bookbrowse_com_new, Time=21ms, Records=3) in /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm @ 19:50:35.035
SELECT 		a.reader_review_number, a.book_number, a.ezine_preview_number, a.reader_review_approved_flag, a.reader_review_dt,
				COALESCE(NULLIF(LTRIM(RTRIM(m.discourse_username)), ''), NULLIF(LTRIM(RTRIM(a.reader_review_reviewer_name)), '')) AS reader_review_reviewer_name,
				a.reader_review_reviewer_email_address, a.reader_review_reviewer_from_locale, a.reader_review_recommended, a.reader_review_rating, a.reader_review_title, a.reader_review_description, ISNULL(a.like_count, 0) AS like_count,
    			b.ezine_preview_title,
    			ISNULL(e.edit_count, 0) AS edit_count,
    			e.last_edit_dt,
    			a.member_number AS review_member_number
    FROM 		reader_reviews a
    INNER JOIN	ezine_previews b ON a.ezine_preview_number = b.ezine_preview_number
    LEFT OUTER JOIN (
    	SELECT reader_review_number, COUNT(*) AS edit_count, MAX(edited_dt) AS last_edit_dt
    	FROM   reader_review_edits
    	GROUP BY reader_review_number
    ) e ON e.reader_review_number = a.reader_review_number
    LEFT OUTER JOIN members m ON m.member_number = a.member_number
	WHERE 		a.ezine_preview_number = ?
    AND			a.book_number = 0
    AND 		a.reader_review_approved_flag = 1
    

	ORDER BY a.reader_review_rating DESC, a.reader_review_dt DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922

get_arc_idfk (Datasource=bookbrowse_com_new, Time=3ms, Records=1) in /root/website/queries/qry_get_discussion_by_id.cfm @ 19:50:35.035
SELECT 		a.arc_forumidfk,a.discourse_flag
    FROM 		arcs a
    INNER JOIN 	ezine_previews e on e.ezine_preview_number = a.ezine_preview_number
    
	
        WHERE 		e.ezine_preview_number = ? 
    AND DATALENGTH(a.arc_forumidfk) > 0 AND arc_obc_flag=1
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 21922

get_arc_idfk_legacy (Datasource=bookbrowse_com_new, Time=3ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 19:50:35.035
SELECT 		a.arc_forumidfk,a.discourse_flag
    FROM 		arcs a
    INNER JOIN 	ezine_previews e on e.ezine_preview_number = a.ezine_preview_number
    
	
        WHERE 		e.ezine_preview_number = ? 
    AND DATALENGTH(a.arc_forumidfk) > 0 AND arc_obc_flag=1 AND a.discourse_flag = 0
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 21922

obc_discussions (Datasource=booktalk_new, Time=117ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 19:50:36.036
SELECT 		t.name,
                m.title, m.body,
                u.username, t.id,
				(SELECT COUNT(*) from booktalk_messages where threadidfk = t.id) AS	"responses"
                
    FROM 		booktalk_forums f
    INNER JOIN	booktalk_threads t on t.forumidfk = f.id
    INNER JOIN	booktalk_messages m on m.posted = t.lastpostcreated
    INNER JOIN	booktalk_users u on u.id = m.useridfk
    
    WHERE 	f.id = ?
    AND 	f.active = 1
	AND		t.active = 1
    
    ORDER BY t.name, t.messages DESC
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) =

searchResults (Datasource=bookbrowse_com_new, Time=108ms, Records=25) in /root/website/queries/qry_get_discussion_by_id.cfm @ 19:50:36.036
SELECT book_number, post_id, topic_id, blurb, username, topic_title
					FROM DiscourseSearchResults
					
        WHERE 		book_number = ? 
                    AND topic_id IS NOT NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p21922

ya_check (Datasource=bookbrowse_com_new, Time=14ms, Records=0) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 19:50:36.036
select ezine_preview_reading_level 
from ezine_previews 
where ezine_preview_number = ?
and ezine_preview_reading_level = 2
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922

get_books_by_brief (Datasource=bookbrowse_com_new, Time=35ms, Records=20) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 19:50:36.036
select 			top 20
				a.ezine_preview_reading_level,
				b.category_name,
				c.category_number, 
				d.book_number, d.book_title,
				f.author_number, f.author_first_name, author_middle_initial, author_last_name
				
from 			ezine_previews a 
inner join		categories b on b.ezine_preview_category_number = a.ezine_preview_category_number
inner join		category_book_mapping c on c.category_number = b.category_number
inner join		books d on d.book_number = c.book_number
inner join		book_author_mapping e on e.book_number = d.book_number
inner join		authors f on f.author_number = e.author_number

where			a.ezine_preview_number = ? 

order by 		d.book_number DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922

get_author_bookcount (Datasource=bookbrowse_com_new, Time=9ms, Records=0) in /root/website/queries/qry_get_author_bookcount.cfm @ 19:50:36.036
select		b.book_title as "title", 1 as "bb_flag", b.book_number as "number"
        from		book_author_mapping a
		inner join	books b on b.book_number = a.book_number
        where		a.author_number = ?
union
    	select		c.ezine_preview_title as "title", 0 as "bb_flag", c.ezine_preview_number as "number"
        from		ezine_previews c
        where		c.ezine_preview_bb_author_link = ?
        and			c.ezine_preview_bb_link = 0
		and 1=0
order by title DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 0
Parameter #2(CF_SQL_INTEGER) = 0

get_obc_number (Datasource=bookbrowse_com_new, Time=12ms, Records=1) in /root/website/queries/qry_get_obc_number.cfm @ 19:50:36.036
select a.arc_forumidfk
    from arcs a
    
    	where a.ezine_preview_number = ?
Query Parameter Value(s) -
Parameter #1(cf_sql_numeric) = 21922.0

existingResults (Datasource=bookbrowse_com_new, Time=114ms, Records=25) in /root/website/actions/udfs.cfm @ 19:50:36.036
SELECT id, last_updated
        FROM DiscourseSearchResults
        WHERE book_number = ?
        ORDER BY last_updated DESC
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p21922

get_ads (Datasource=bookbrowse_com_new, Time=16ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone3
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=20ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone3

get_member_account_types (Datasource=bookbrowse_com_new, Time=21ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 19:50:36.036
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_member_account_types (Datasource=bookbrowse_com_new, Time=24ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 19:50:36.036
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_ads (Datasource=bookbrowse_com_new, Time=26ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone11
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=22ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone11

get_member_account_types (Datasource=bookbrowse_com_new, Time=24ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 19:50:36.036
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_liked_by_brief_id (Datasource=bookbrowse_com_new, Time=20ms, Records=0) in /root/website/queries/qry_get_liked_by_brief_id.cfm @ 19:50:36.036
SELECT
		ep.ezine_preview_title AS book_title,
		'p' + CAST(ep.ezine_preview_number AS VARCHAR) AS book_number,
		b.book_title AS "referenced_book_title",
		CAST(b.book_number AS VARCHAR) AS "liked_book_number",
		b.book_short_summary AS "liked_short_summary",
		CASE
			WHEN datalength(e.author_middle_initial) > 0
			THEN e.author_first_name + ' ' + e.author_middle_initial + '. ' + e.author_last_name
			ELSE e.author_first_name + ' ' + e.author_last_name
		END AS "author_name",
		(select top 1 edition_publish_dt from editions where editions.book_number = b.book_number order by edition_publish_dt DESC) AS 'sortdate',
		(select count(*) from book_author_mapping m where m.author_number = d.author_number)
		+ (select count(*) from ezine_previews where ezine_preview_bb_author_link = d.author_number and ezine_preview_bb_link =0) AS 'liked_author_bookcount',
		0 AS 'is_brief'

	FROM 		liked a
	INNER JOIN	ezine_previews ep ON ep.ezine_preview_number = ?
		AND a.book_number = ep.ezine_preview_number
	INNER JOIN	books b ON b.book_number = a.liked_book_number
	INNER JOIN	book_author_mapping d ON d.book_number = b.book_number
	INNER JOIN	authors e ON e.author_number = d.author_number

	UNION

	
	SELECT
		ep.ezine_preview_title AS book_title,
		'p' + CAST(ep.ezine_preview_number AS VARCHAR) AS book_number,
		b.book_title AS "referenced_book_title",
		CAST(b.book_number AS VARCHAR) AS "liked_book_number",
		b.book_short_summary AS "liked_short_summary",
		CASE
			WHEN datalength(auth.author_middle_initial) > 0
			THEN auth.author_first_name + ' ' + auth.author_middle_initial + '. ' + auth.author_last_name
			ELSE auth.author_first_name + ' ' + auth.author_last_name
		END AS "author_name",
		(select top 1 edition_publish_dt from editions where editions.book_number = b.book_number order by edition_publish_dt DESC) AS 'sortdate',
		0 AS 'liked_author_bookcount',
		0 AS 'is_brief'

	FROM 		readalikes_cache rc
	INNER JOIN	ezine_previews ep ON ep.ezine_preview_number = ?
		AND rc.source_book_number = 'p' + CAST(ep.ezine_preview_number AS VARCHAR)
	INNER JOIN	books b ON b.book_number = rc.recommended_book_number
	INNER JOIN	book_author_mapping bam ON bam.book_number = b.book_number
	INNER JOIN	authors auth ON auth.author_number = bam.author_number

	ORDER BY 	sortdate desc, referenced_book_title
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 21922
Parameter #2(CF_SQL_INTEGER) = 21922

get_member_account_types (Datasource=bookbrowse_com_new, Time=31ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 19:50:36.036
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_arcs_for_ad (Datasource=bookbrowse_com_new, Time=27ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 19:50:36.036
SELECT 	top 10 a.arc_number,arc_promo_text,
		b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publish_dt, 
		(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
				 ELSE 0
				 END)
 			from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating

FROM arcs a
INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number

WHERE arc_closed_flag = 1
AND arc_obc_flag = 0
AND getdate() >= arc_on_ad_dt
AND (select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) > 1
and getdate() <= dateadd(day,1,a.arc_off_ad_dt)

ORDER BY NEWID()
get_arcs_for_ad (Datasource=bookbrowse_com_new, Time=48ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 19:50:36.036
SELECT 	top 3 a.arc_number,arc_promo_text,
			b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publish_dt, 
			(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
					(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
					 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
					 ELSE 0
					 END)
				from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating

	FROM arcs a
	INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number

	WHERE arc_closed_flag = 1
	AND arc_obc_flag = 0
	AND getdate() >= arc_on_ad_dt
	AND (select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) > 1

	ORDER BY a.arc_off_ad_dt DESC
get_ads (Datasource=bookbrowse_com_new, Time=33ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone6
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=26ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone6

get_type (Datasource=bookbrowse_com_new, Time=11ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT	a.start_date, a.adid, a.end_date, a.camp_views, a.image_name, a.alt_text, a.views, a.code, a.adsize
        FROM	adsystem a
        WHERE	a.adid = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1112

get_quotes (Datasource=bookbrowse_com_new, Time=38ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 19:50:36.036
select top 1 ezine_number, ezine_quote, ezine_quote_title
	    from ezines
	    where len(ezine_quote_title) > 1
	    order by newid()
get_free_newsletters (Datasource=bookbrowse_com_new, Time=28ms, Records=4) in /root/website/queries/qry_get_free_newsletters.cfm @ 19:50:36.036
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=32ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
		 	AND a.adid NOT IN (?) 
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = showcase_track
Parameter #2(CF_SQL_INTEGER) = 1112
Parameter #3(CF_SQL_VARCHAR) = 0
Parameter #4(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=90ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        		AND a.adid NOT IN (?) 
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = showcase_track
Parameter #2(CF_SQL_INTEGER) = 1112

get_type (Datasource=bookbrowse_com_new, Time=12ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 19:50:36.036
SELECT	a.start_date, a.adid, a.end_date, a.camp_views, a.image_name, a.alt_text, a.views, a.code, a.adsize
        FROM	adsystem a
        WHERE	a.adid = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 594


Scope Variables

CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=/root/website/bb_briefs/detail/index.cfm
CONTENT_LENGTH=
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=
HTTPS=
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=upgrade
HTTP_COOKIE=CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%23; CFGLOBALS=urltoken%3DCFID%23%3D4072854%26CFTOKEN%23%3D10dcba33e0a1ed90%2DFBE1A920%2D9139%2D1F87%2DC32519D7541F8119%23lastvisit%3D%7Bts%20%272026%2D05%2D31%2019%3A50%3A34%27%7D%23hitcount%3D2%23timecreated%3D%7Bts%20%272026%2D05%2D31%2019%3A50%3A34%27%7D%23cftoken%3D10dcba33e0a1ed90%2DFBE1A920%2D9139%2D1F87%2DC32519D7541F8119%23cfid%3D4072854%23; CFTOKEN=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119; CFID=4072854
HTTP_HOST=dev.bookbrowse.com
HTTP_REFERER=
HTTP_URL=
HTTP_USER_AGENT=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
LOCAL_ADDR=127.0.0.1
PATH_INFO=/ezine_preview_number/21922/before-dorothy
PATH_TRANSLATED=/root/website/bb_briefs/detail/index.cfm
QUERY_STRING=
REMOTE_ADDR=127.0.0.1
REMOTE_HOST=127.0.0.1
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/bb_briefs/detail/index.cfm
SERVER_NAME=dev.bookbrowse.com
SERVER_PORT=8500
SERVER_PORT_SECURE=0
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=
WEB_SERVER_API=
Client Variables:
cfid=4072854
cftoken=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119
hitcount=4
lastvisit={ts '2026-05-31 19:50:36'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-05-31 19:50:34'}
urltoken=CFID=4072854&CFTOKEN=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119
view=books
Cookie Variables:
CFCLIENT_BOOKBROWSE=order=p#member_number=0#member_active_flag=0#member_logged_in_flag=0#library_user_flag=0#view=books#
CFGLOBALS=urltoken=CFID#=4072854&CFTOKEN#=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119#lastvisit={ts '2026-05-31 19:50:34'}#hitcount=2#timecreated={ts '2026-05-31 19:50:34'}#cftoken=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119#cfid=4072854#
CFID=4072854
CFTOKEN=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119
Session Variables:
cfid=4072854
cftoken=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119
quiz=Struct (4)
quizadmin=0
sessionid=BOOKBROWSE_4072854_10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119
urltoken=CFID=4072854&CFTOKEN=10dcba33e0a1ed90-FBE1A920-9139-1F87-C32519D7541F8119
URL Parameters:
before-dorothy=
ezine_preview_number=21922
Debug Rendering Time: 15 ms