The Ghosts of Girlfriends Past

Connor Mead (Matthew McConaughey) is a famous photographer and confirmed womanizer. He takes a break from his playboy lifestyle to attend his brother's wedding, where he becomes reacquainted with Jenny Perotti (Jennifer Garner), Connor's childhood friend and the only girl who's ever captured his heart. After Connor delivers a drunken speech at the rehearsal dinner where he says that love isn't real, he's met in the bathroom by the ghost of his uncle Wayne (Michael Douglas), a rouÃ© who taught Connor everything he knows about seducing women. Wayne informs Connor that, over the course of the evening, he will be visited by three ghosts who will lead him through his romantic past, present, and future.
The first ghost is the "Ghost of Girlfriends Past" in the form of Allison Vandermeersh (Emma Stone), one of his high school girlfriends and his first lover. Together, they revisit scenes from his past, focusing on his relationship with Jenny. Connor and Jenny were very close as children; she gave him his first instant camera which he used to take her picture, promising to keep it forever. By middle school, the two were on the verge of romance, but Connor's hesitation at a dance caused Jenny to dance with and kiss another boy. Heartbroken, Connor was told by Wayne that he must avoid romance at all costs in order not to feel such pain again. For the next two years, Wayne schooled Connor in the art of seduction. When he next saw Jenny, at a high school party, Connor ignored her and had sex with Allison. Several years later, as adults, Connor and Jenny rekindled their romance, but Jenny forced him to woo her for several weeks in an attempt to rid him of his womanizing ways. After they finally did have sex, Connor falls in love with her, but then panics, running out on her so he won't be hurt. Jenny wakes up alone and broken-hearted. His relationships thereafter consisted of a series of very short flings.
Awakening back in the Mead mansion in the present, Connor accidentally destroys Paul and Sandra's wedding cake and unsuccessfully attempts to reconcile with Jenny. As he storms out of the house, he is confronted by the "Ghost of Girlfriends Present" in the form of his assistant Melanie (Noureen DeWulf), the only constant female figure in his life. With her, he sees that in his absence the other wedding guests make fun of him and his shallow lifestyle. Paul stands up for his brother, recalling that Connor helped to raise him after their parents' death, and expresses his hope that Connor will someday change for the better. Connor also sees that Jenny is being comforted by Brad (Daniel Sunjata), and is upset that his own actions and attitude are bringing the two closer. He is further upset to discover that Melanie and the three women whom he previously broke up with by conference call are bonding over his disregard for their feelings.
Returning to the house, Connor finds Sandra furious at learning that Paul had slept with one of her bridesmaids very early in their relationship, information that Connor had let slip earlier in the evening. Connor attempts to mend the situation but only makes things worse, and Paul tells him to leave. On his way out, he is confronted by the "Ghost of Girlfriends Future" (Olga Maliouk), who takes him forward in time to see that Jenny marries Brad while Paul remains alone. Further in the future, Paul is the only mourner at Connor's funeral. Wayne appears and tells Connor that this is his future if he continues on the same path, pushing him into the grave to be buried by his many ex-girlfriends.
Connor awakens in the Mead home and learns that Sandra has called off the wedding and is on her way to the airport. He intercepts the bridal party and convinces Sandra to forgive Paul by sharing lessons learned from his own mistakes, particularly that the pain of heartbreak is outweighed by the regret of never risking one's heart in the first place, something he admits to always regretting having done. Connor helps Jenny to restart the wedding, which he photographs, and afterwards he reconciles with Jenny by showing her the picture he still carries of her as a child and by promising to always be there when she wakes up. The two kiss and dance in the snow to the same song Connor once hesitated to ask her to dance to.
Meanwhile, Wayne tries to hit on the ghost of girlfriends future, but she magically vanishes after throwing a drink in his face. Then he tries to hit on the ghost of girlfriends present, but Melanie informs Wayne she is one of the attendees and vanishes. Melanie and Brad start talking and then dancing. Wayne is left with the ghost of girlfriends past, Allison, who is not interested since she is only 16. Wayne says that they are ghosts and therefore ageless.

Question: When did Connor have sex with Allison?
Answer: At a high school party